aboutsummaryrefslogtreecommitdiff
path: root/src/device_context.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/device_context.cc')
-rw-r--r--src/device_context.cc8
1 files changed, 0 insertions, 8 deletions
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,