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 c2c7893509
fix logic error + little refactor
Fix: get cptime of n-th cpu when `percpu` instead of the average.

While there, rearrange the last if statement to make the code a bit
more homogeneous.
6 years ago
..
testdata [cpu]linux: add testcode with testdata. 8 years ago
cpu.go revert imports 6 years ago
cpu_darwin.go [cpu][darwin] Remove calls to sysctl binary in cpu/cpu_darwin.go #639 6 years ago
cpu_darwin_cgo.go cpu[darwin]: fix Go arrays panic in cgo #279 8 years ago
cpu_darwin_nocgo.go revert imports 6 years ago
cpu_fallback.go revert imports 6 years ago
cpu_freebsd.go revert imports 6 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_test.go revert imports 6 years ago
cpu_linux.go revert imports 6 years ago
cpu_linux_test.go [cpu]linux: add testcode with testdata. 8 years ago
cpu_openbsd.go fix logic error + little refactor 6 years ago
cpu_solaris.go revert imports 6 years ago
cpu_solaris_test.go cpu: Check for error object 7 years ago
cpu_test.go handle pr comments: use assert.InEpsilon 6 years ago
cpu_windows.go Fix function naming 6 years ago