From 9b2653afc48c9712fbcd8808b4cae6810406f863 Mon Sep 17 00:00:00 2001 From: momo5502 Date: Mon, 2 Jun 2025 19:25:48 +0200 Subject: [PATCH] Override timestamp counter for deterministic clock --- src/common/utils/time.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/common/utils/time.hpp b/src/common/utils/time.hpp index fdc3d89f..d143a5d5 100644 --- a/src/common/utils/time.hpp +++ b/src/common/utils/time.hpp @@ -75,6 +75,11 @@ namespace utils return this->now(this->steady_start_); } + uint64_t timestamp_counter() override + { + return this->ticks(); + } + virtual uint64_t ticks() = 0; uint64_t get_frequency() const