[libc][NFC][Obvious] Fix the benchmarks after the switch to llvm/third-party
This commit is contained in:
@@ -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.");
|
||||
|
||||
Reference in New Issue
Block a user