[libc][NFC][Obvious] Fix the benchmarks after the switch to llvm/third-party
GitOrigin-RevId: 39e9f5d3685f3cfca0df072928ad96d973704dff
diff --git a/benchmarks/LibcBenchmark.cpp b/benchmarks/LibcBenchmark.cpp
index cef595d..621e046 100644
--- a/benchmarks/LibcBenchmark.cpp
+++ b/benchmarks/LibcBenchmark.cpp
@@ -15,7 +15,7 @@
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.");