From a64bf66a50bf628714bdf148e3136d1c549bea70 Mon Sep 17 00:00:00 2001 From: Nicolas James Date: Mon, 16 Feb 2026 19:30:42 +1100 Subject: subtract CPU time, WIP --- src/device_context.cc | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/device_context.cc') diff --git a/src/device_context.cc b/src/device_context.cc index b8d3482..67af3aa 100644 --- a/src/device_context.cc +++ b/src/device_context.cc @@ -53,14 +53,6 @@ void DeviceContext::Clock::calibrate() { }; auto calibrated_result = CalibratedResult{}; - // we probably want to use this instead bc clock_gettime isn't guaranteed - // by steady clock afaik - /* - struct timespec tv; - clock_gettime(CLOCK_MONOTONIC, &tv); - return tv.tv_nsec + tv.tv_sec*1000000000ull; - */ - const auto steady_before = std::chrono::steady_clock::now(); device.vtable.GetCalibratedTimestampsKHR(device.device, 2, std::data(infos), &calibrated_result.device, -- cgit v1.2.3