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
K.C. Wong 10a1ae2123 Standardize `Mhz` to mean maximum CPU frequency on Linux platform
* resolve #249
* in `cpu_windows.go`, `Mhz` is the value of `MaxClockSpeed`
* on Linux platform, the `Mhz` value is extracted from `/proc/cpuinfo`
  which reflects the current clock speed; treat this as the fallback
  value instead
* read from `cpufreq/cpuinfo_max_freq` under sysfs to get the
  maximum clock speed for `Mhz`, just like for Windows platform
* also fix the path to `cpu.CoreID` value; the filename is `core_id`
9 years ago
..
cpu.go fixed imports and spelling error 9 years ago
cpu_darwin.go Addressing frequency unit discrepancies 9 years ago
cpu_darwin_cgo.go CPU: Fix linter warning on OSX. 9 years ago
cpu_darwin_nocgo.go fixed by golint. 9 years ago
cpu_fallback.go Add fallback code for all unsupported operating systems. 9 years ago
cpu_freebsd.go Merge pull request #219 from sean-/freebsd-cpu-info 9 years ago
cpu_linux.go Standardize `Mhz` to mean maximum CPU frequency on Linux platform 9 years ago
cpu_test.go calculate cpu percentage compared to last call if 0 interval is given 9 years ago
cpu_unix.go rename ALL to all 9 years ago
cpu_windows.go fixed by golint. 9 years ago