You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gopsutil/cpu
Omar Polo 73f9c8dfd5 avoid cgo for cpu_openbsd
Even thought OpenBSD often breaks the ABI compatibility and doesn't make
*any* promise of "stability", this project aims to be "pure go" so avoid
doing inter-op at the cost of artificially reducing the number of
supported architectures down to amd64 and i386.

To add support for another architecture (e.g. arm), add another file
cpu_openbsd_${arch}.go like done for 386 and amd64.  The fields are
declared as `long' in C, so pick the appropriate size when declaring the
struct.
3 years ago
..
testdata fix dependabot v2 deletion. 3 years ago
cpu.go gofumpt 3 years ago
cpu_aix.go gofumpt 3 years ago
cpu_darwin.go gofumpt 3 years ago
cpu_darwin_cgo.go gofumpt 3 years ago
cpu_darwin_nocgo.go gofumpt 3 years ago
cpu_dragonfly.go gofumpt 3 years ago
cpu_dragonfly_amd64.go cpu: support for DragonflyBSD 5 years ago
cpu_fallback.go gofumpt 3 years ago
cpu_freebsd.go gofumpt 3 years ago
cpu_freebsd_386.go Eliminate use of sysctl command on FreeBSD 8 years ago
cpu_freebsd_amd64.go Eliminate use of sysctl command on FreeBSD 8 years ago
cpu_freebsd_arm.go add FreeBSD ARM support. copied from i386 6 years ago
cpu_freebsd_arm64.go Add support for freebsd/arm64 5 years ago
cpu_freebsd_test.go gofumpt 3 years ago
cpu_linux.go gofumpt 3 years ago
cpu_linux_test.go [cpu][linux] Fix #1037 only count logical cores where 2nd field is a number 4 years ago
cpu_openbsd.go avoid cgo for cpu_openbsd 3 years ago
cpu_openbsd_386.go avoid cgo for cpu_openbsd 3 years ago
cpu_openbsd_amd64.go avoid cgo for cpu_openbsd 3 years ago
cpu_plan9.go gofumpt 3 years ago
cpu_plan9_test.go gofumpt 3 years ago
cpu_solaris.go gofumpt 3 years ago
cpu_solaris_test.go gofumpt 3 years ago
cpu_test.go gofumpt 3 years ago
cpu_windows.go gofumpt 3 years ago