mirror of https://github.com/shirou/gopsutil
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.
* 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 | 9 years ago | |
cpu_darwin.go | 9 years ago | |
cpu_darwin_cgo.go | 9 years ago | |
cpu_darwin_nocgo.go | 9 years ago | |
cpu_fallback.go | 9 years ago | |
cpu_freebsd.go | 9 years ago | |
cpu_linux.go | 9 years ago | |
cpu_test.go | 9 years ago | |
cpu_unix.go | 9 years ago | |
cpu_windows.go | 9 years ago |