mirror of https://github.com/google/benchmark.git
address review comments
This commit is contained in:
parent
1b9e55c281
commit
b07fee6b64
|
@ -4,4 +4,4 @@ int main() {
|
||||||
typedef std::chrono::steady_clock Clock;
|
typedef std::chrono::steady_clock Clock;
|
||||||
Clock::time_point tp = Clock::now();
|
Clock::time_point tp = Clock::now();
|
||||||
((void)tp);
|
((void)tp);
|
||||||
}
|
}
|
||||||
|
|
|
@ -103,7 +103,8 @@ bool ConsoleReporter::ReportContext(const Context& context) {
|
||||||
|
|
||||||
if (context.cpu_scaling_enabled) {
|
if (context.cpu_scaling_enabled) {
|
||||||
fprintf(stdout, "***WARNING*** CPU scaling is enabled, the benchmark "
|
fprintf(stdout, "***WARNING*** CPU scaling is enabled, the benchmark "
|
||||||
"timings may be noisy and will incure extra overhead.\n");
|
"real time measurements may be noisy and will incure extra "
|
||||||
|
"overhead.\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
|
|
Loading…
Reference in New Issue