aboutsummaryrefslogtreecommitdiff
path: root/src/device_context.hh
diff options
context:
space:
mode:
authorNicolas James <nj3ahxac@gmail.com>2026-02-15 12:52:19 +1100
committerNicolas James <nj3ahxac@gmail.com>2026-02-15 12:52:19 +1100
commite0f7daf292db65d8aa492b6bc29ad245a9f83a2d (patch)
tree5463fb6a6d2f22dfd6442252301672860823d0d1 /src/device_context.hh
parent0deb469d5a7c9a16179139dcff74a54aac1791a0 (diff)
Implement anti lag 1 / whatever nvidia reflex equivalent is
Diffstat (limited to 'src/device_context.hh')
-rw-r--r--src/device_context.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/device_context.hh b/src/device_context.hh
index c08cec2..8a86cfb 100644
--- a/src/device_context.hh
+++ b/src/device_context.hh
@@ -36,7 +36,8 @@ struct DeviceContext final : public Context {
struct Clock {
public:
- using time_point_t = std::chrono::steady_clock::time_point;
+ using time_point_t = std::chrono::time_point<std::chrono::steady_clock,
+ std::chrono::nanoseconds>;
const DeviceContext& device;
public: