diff options
author | Jari Vetoniemi <mailroxas@gmail.com> | 2017-02-16 00:55:06 +0200 |
---|---|---|
committer | Jari Vetoniemi <mailroxas@gmail.com> | 2017-02-16 00:55:06 +0200 |
commit | 03698fed18f67d1144b5ac49c148c1747621b917 (patch) | |
tree | a95d00dd57887c67377fa4234d829476cc2f6070 | |
parent | 4e822a7f89787ff476fec172e57d1aab31a1740b (diff) |
Use COARSE clock
We don't need the extra precision for our timestamps
-rw-r--r-- | glcapture.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |