Commit 03c56819 authored by Ondrej Vysocky's avatar Ondrej Vysocky

FIX print correct CPU frequency #14

parent 7c1962e1
......@@ -208,7 +208,7 @@ void Environment::frequency(uint64_t freq, int socket)
std::cerr << "CPUFREQ ERROR: failed to set frequency for cpu "<< cpu << std::endl;
}
}
MERIC_INFO << "CPUFREQ: core frequency is " << cpufreq_get_freq_kernel(cpu) << std::endl;
MERIC_INFO << "CPUFREQ: core frequency is " << cpufreq_get_freq_kernel(nodeSize-1) << std::endl;
#elif defined HAVE_X86_ADAPT_H
int adaptHandler = x86_adapt_lookup_ci_name(X86_ADAPT_CPU, "Intel_Target_PState");
if (adaptHandler < 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment