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
Ben Aldrich a4ec4177a6 Fix cpu percent on windows
Tested on windows 7:

When divided by 100 you get cpu percentage of  %0.14 when task manager shows %14. Once this is removed they match.
10 years ago
..
cpu.go cpu: use wmic to get CPU usage on Windows. 10 years ago
cpu_darwin.go cpu[darwin]: use CGO to get CPUTimes. This is breaking. see #66. 10 years ago
cpu_freebsd.go cpu: fix command output trim problem. 10 years ago
cpu_linux.go cpu: Steal, Guest, and GuestNice are not divided by CPU_TICK. 10 years ago
cpu_test.go cpu: use wmic to get CPU usage on Windows. 10 years ago
cpu_unix.go cpu: fix build option on unix. 10 years ago
cpu_windows.go Fix cpu percent on windows 10 years ago