From 8f4501215c0dbbbde59da2d015fdec3dbe5131bc Mon Sep 17 00:00:00 2001 From: Nicolas James Date: Fri, 13 Feb 2026 18:21:04 +1100 Subject: add working frame tracking and commit before i break everything --- src/timestamp_pool.hh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/timestamp_pool.hh') diff --git a/src/timestamp_pool.hh b/src/timestamp_pool.hh index cc67b18..a4aa429 100644 --- a/src/timestamp_pool.hh +++ b/src/timestamp_pool.hh @@ -67,7 +67,7 @@ class TimestampPool final { std::vector>> cached_timestamps; public: - // A handle represents two std::uint64_t blocks of timestamp memory and two + // A handle represents two std::uint64_t blocks oftimestamp memory and two // command buffers. struct Handle final { private: @@ -110,11 +110,11 @@ class TimestampPool final { public: // Hands out a Handle with a pool and index of two uint64_t's. - std::unique_ptr acquire(); + std::shared_ptr acquire(); void poll(); // saves the current state for future get's. - std::uint64_t get_polled(const Handle& handle); + std::uint64_t get_polled(const Handle& handle, const bool hack = false); }; } // namespace low_latency -- cgit v1.2.3