aboutsummaryrefslogtreecommitdiff
path: root/src/bench/util_time.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bench/util_time.cpp')
-rw-r--r--src/bench/util_time.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bench/util_time.cpp b/src/bench/util_time.cpp
index 8dbbdec28c..4cbc0dfbbd 100644
--- a/src/bench/util_time.cpp
+++ b/src/bench/util_time.cpp
@@ -32,7 +32,7 @@ static void BenchTimeMillis(benchmark::Bench& bench)
static void BenchTimeMillisSys(benchmark::Bench& bench)
{
bench.run([&] {
- (void)GetTimeMillis();
+ (void)TicksSinceEpoch<std::chrono::milliseconds>(SystemClock::now());
});
}