Unverified Commit 94f845ec by Mircea Trofin Committed by GitHub

Fix typos (#1194)

parent 05a2ace7
...@@ -320,7 +320,7 @@ void BenchmarkRunner::DoOneRepetition() { ...@@ -320,7 +320,7 @@ void BenchmarkRunner::DoOneRepetition() {
memory_manager->Stop(&memory_result); memory_manager->Stop(&memory_result);
} }
// Ok, now actualy report. // Ok, now actually report.
BenchmarkReporter::Run report = BenchmarkReporter::Run report =
CreateRunReport(b, i.results, memory_iterations, memory_result, i.seconds, CreateRunReport(b, i.results, memory_iterations, memory_result, i.seconds,
num_repetitions_done, repeats); num_repetitions_done, repeats);
......
...@@ -545,7 +545,7 @@ double GetCPUCyclesPerSecond(CPUInfo::Scaling scaling) { ...@@ -545,7 +545,7 @@ double GetCPUCyclesPerSecond(CPUInfo::Scaling scaling) {
// cannot always be relied upon. The same reasons apply to /proc/cpuinfo as // cannot always be relied upon. The same reasons apply to /proc/cpuinfo as
// well. // well.
if (ReadFromFile("/sys/devices/system/cpu/cpu0/tsc_freq_khz", &freq) if (ReadFromFile("/sys/devices/system/cpu/cpu0/tsc_freq_khz", &freq)
// If CPU scaling is disabled, use the the *current* frequency. // If CPU scaling is disabled, use the *current* frequency.
// Note that we specifically don't want to read cpuinfo_cur_freq, // Note that we specifically don't want to read cpuinfo_cur_freq,
// because it is only readable by root. // because it is only readable by root.
|| (scaling == CPUInfo::Scaling::DISABLED && || (scaling == CPUInfo::Scaling::DISABLED &&
......
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