From 03698fed18f67d1144b5ac49c148c1747621b917 Mon Sep 17 00:00:00 2001 From: Jari Vetoniemi Date: Thu, 16 Feb 2017 00:55:06 +0200 Subject: Use COARSE clock We don't need the extra precision for our timestamps --- glcapture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glcapture.c b/glcapture.c index a38a202..5d1b78e 100644 --- a/glcapture.c +++ b/glcapture.c @@ -169,7 +169,7 @@ get_time_ns_clock(clockid_t clk_id) static uint64_t get_time_ns(void) { - return get_time_ns_clock(CLOCK_MONOTONIC); + return get_time_ns_clock(CLOCK_MONOTONIC_COARSE); } static void -- cgit v1.2.3-70-g09d2