123a6c9b0d
* for Darwin, it is a minor tweak for readability: the value returned is in Hz, so using a variable named 'hz' makes more sense than 'mhz' * for Linux, the unit is in kHz so we need to divide the value from `cpuinfo_max_freq` by 10^3 to get MHz (see cpu-freq/user-guide.txt of the kernel documentation) |
||
---|---|---|
.. | ||
cpu.go | ||
cpu_darwin.go | ||
cpu_darwin_cgo.go | ||
cpu_darwin_nocgo.go | ||
cpu_freebsd.go | ||
cpu_linux.go | ||
cpu_test.go | ||
cpu_unix.go | ||
cpu_windows.go |