We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25bcd94 commit 39e9f5dCopy full SHA for 39e9f5d
libc/benchmarks/LibcBenchmark.cpp
@@ -15,7 +15,7 @@ namespace libc_benchmarks {
15
16
void checkRequirements() {
17
const auto &CpuInfo = benchmark::CPUInfo::Get();
18
- if (CpuInfo.scaling_enabled)
+ if (CpuInfo.scaling == benchmark::CPUInfo::ENABLED)
19
report_fatal_error(
20
"CPU scaling is enabled, the benchmark real time measurements may be "
21
"noisy and will incur extra overhead.");
0 commit comments