From 714a47d7c7ae5c1cdb1412b49da7735939dc0e6e Mon Sep 17 00:00:00 2001 From: Alejandro Acosta Date: Fri, 10 Jan 2025 13:25:45 +0000 Subject: [PATCH] Fix benchmark --- benchmarks/main.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/benchmarks/main.cpp b/benchmarks/main.cpp index 59cfa51cd..86660deeb 100644 --- a/benchmarks/main.cpp +++ b/benchmarks/main.cpp @@ -102,7 +102,7 @@ auto benchmark_main(int argc, const char **argv) -> int { std::stringstream benchmark_name; benchmark_name << benchmark_config << "/" << options.benchmark_name(); - benchmark::RegisterBenchmark(benchmark_name.str(), runner, options, hw_info)->UseManualTime(); + ::benchmark::RegisterBenchmark(benchmark_name.str(), runner, options, hw_info)->UseManualTime(); return 0; } @@ -163,11 +163,11 @@ int main(int argc, const char** argv) { file.close(); int argc_bm = 0; - benchmark::SetDefaultTimeUnit(benchmark::kMillisecond); - benchmark::Initialize(&argc_bm, nullptr); + ::benchmark::SetDefaultTimeUnit(::benchmark::kMillisecond); + ::benchmark::Initialize(&argc_bm, nullptr); - benchmark::RunSpecifiedBenchmarks(); - benchmark::Shutdown(); + ::benchmark::RunSpecifiedBenchmarks(); + ::benchmark::Shutdown(); return 0; }