shirou_gopsutil/cpu
Tobias Klauser 548c500117 Use unix.SysctlUin32("hw.ncpuonline") on OpenBSD
Use SysctlUvmexp from golang.org/x/sys/unix to avoid having to simplify
the implementation of cpu.InfoWithContext

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
2020-09-01 11:22:28 +02:00
..
testdata [cpu]linux: add testcode with testdata. 2017-09-20 15:58:30 +09:00
cpu.go updated docs for TimesStat with correct time unit 2020-05-13 11:21:01 +02:00
cpu_darwin.go added check for CLK_TCK 2020-05-12 13:59:26 +02:00
cpu_darwin_cgo.go cpu[darwin]: fix Go arrays panic in cgo #279 2016-11-15 00:53:20 +09:00
cpu_darwin_nocgo.go revert imports 2018-11-19 22:06:05 -08:00
cpu_dragonfly.go Fix stepping extraction 2020-06-22 13:03:18 +02:00
cpu_dragonfly_amd64.go cpu: support for DragonflyBSD 2020-06-18 10:17:23 +02:00
cpu_fallback.go cpu: support for DragonflyBSD 2020-06-18 10:17:23 +02:00
cpu_freebsd.go Fix: use filename in exec.LookPath instead of full path 2019-05-05 20:45:07 +01:00
cpu_freebsd_386.go Eliminate use of sysctl command on FreeBSD 2017-10-05 08:45:56 +01:00
cpu_freebsd_amd64.go Eliminate use of sysctl command on FreeBSD 2017-10-05 08:45:56 +01:00
cpu_freebsd_arm.go add FreeBSD ARM support. copied from i386 2019-01-17 16:49:20 +09:00
cpu_freebsd_arm64.go Add support for freebsd/arm64 2019-12-17 03:12:29 -05:00
cpu_freebsd_test.go revert imports 2018-11-19 22:06:05 -08:00
cpu_linux.go renamed CLK_TCK variables for consistency across OSs 2020-05-12 15:36:18 +02:00
cpu_linux_test.go [cpu]linux: add testcode with testdata. 2017-09-20 15:58:30 +09:00
cpu_openbsd.go Use unix.SysctlUin32("hw.ncpuonline") on OpenBSD 2020-09-01 11:22:28 +02:00
cpu_solaris.go Cast bytes to string 2019-06-07 07:39:57 -05:00
cpu_solaris_test.go cpu: Check for error object 2018-06-21 16:42:49 +02:00
cpu_test.go [cpu]: remove unused field Stolen 2019-04-27 13:45:12 +09:00
cpu_windows.go renamed CLK_TCK variables for consistency across OSs 2020-05-12 15:36:18 +02:00