[libc][NFC][Obvious] Fix the benchmarks after the switch to llvm/third-party
This commit is contained in:
parent
25bcd94234
commit
39e9f5d368
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ namespace libc_benchmarks {
|
|||
|
||||
void checkRequirements() {
|
||||
const auto &CpuInfo = benchmark::CPUInfo::Get();
|
||||
if (CpuInfo.scaling_enabled)
|
||||
if (CpuInfo.scaling == benchmark::CPUInfo::ENABLED)
|
||||
report_fatal_error(
|
||||
"CPU scaling is enabled, the benchmark real time measurements may be "
|
||||
"noisy and will incur extra overhead.");
|
||||
|
|
|
|||
Loading…
Reference in a new issue