GetClockSpeed() uses the information from the file /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq when it exists. Make sure it is not used for tests. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com> |
||
---|---|---|
.. | ||
testdata | ||
info.go | ||
machine.go | ||
operatingsystem_unix.go | ||
operatingsystem_windows.go | ||
topology_test.go |