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 16cc7d7d73 improve sysctl parsing: use native byte order
We can't use unix.Sysctl* for some sysctls, so we're on our own with
converting data from C arrays.

Don't assume that the byte order is little endian but do the right
thing.  Moreover, there's a little distinction in the sizes reported
by KERN_CPTIME (long[cpustates]) and KERN_CPTIME2
(u_int64_t[cpustates]) so account for that too.
3 years ago
..
testdata fix dependabot v2 deletion. 4 years ago
cpu.go gofumpt 4 years ago
cpu_aix.go gofumpt 4 years ago
cpu_darwin.go gofumpt 4 years ago
cpu_darwin_cgo.go gofumpt 4 years ago
cpu_darwin_nocgo.go gofumpt 4 years ago
cpu_dragonfly.go gofumpt 4 years ago
cpu_dragonfly_amd64.go cpu: support for DragonflyBSD 5 years ago
cpu_fallback.go gofumpt 4 years ago
cpu_freebsd.go gofumpt 4 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 7 years ago
cpu_freebsd_arm64.go Add support for freebsd/arm64 6 years ago
cpu_freebsd_test.go gofumpt 4 years ago
cpu_linux.go gofumpt 4 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 improve sysctl parsing: use native byte order 3 years ago
cpu_plan9.go gofumpt 4 years ago
cpu_plan9_test.go gofumpt 4 years ago
cpu_solaris.go gofumpt 4 years ago
cpu_solaris_test.go gofumpt 4 years ago
cpu_test.go gofumpt 4 years ago
cpu_windows.go gofumpt 4 years ago