mirror of
https://github.com/google/benchmark.git
synced 2024-11-29 09:36:49 +00:00
Fix typos (#1194)
This commit is contained in:
parent
05a2ace713
commit
94f845ec4f
|
@ -320,7 +320,7 @@ void BenchmarkRunner::DoOneRepetition() {
|
|||
memory_manager->Stop(&memory_result);
|
||||
}
|
||||
|
||||
// Ok, now actualy report.
|
||||
// Ok, now actually report.
|
||||
BenchmarkReporter::Run report =
|
||||
CreateRunReport(b, i.results, memory_iterations, memory_result, i.seconds,
|
||||
num_repetitions_done, repeats);
|
||||
|
|
|
@ -545,7 +545,7 @@ double GetCPUCyclesPerSecond(CPUInfo::Scaling scaling) {
|
|||
// cannot always be relied upon. The same reasons apply to /proc/cpuinfo as
|
||||
// well.
|
||||
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,
|
||||
// because it is only readable by root.
|
||||
|| (scaling == CPUInfo::Scaling::DISABLED &&
|
||||
|
|
Loading…
Reference in a new issue