From 45b552d146fd82983816bfc87bbe374adaead842 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 15 May 2019 13:52:12 -0400 Subject: [PATCH] profiler: Prefer CLOCK_MONOTONIC This is what g_get_monotonic_time gives us, after all, and we need to have the same clock in all our profiler data. --- gdk/capture/sp-clock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdk/capture/sp-clock.c b/gdk/capture/sp-clock.c index 8811ac44ca..b53dafb741 100644 --- a/gdk/capture/sp-clock.c +++ b/gdk/capture/sp-clock.c @@ -24,9 +24,9 @@ void sp_clock_init (void) { static const gint clock_ids[] = { + CLOCK_MONOTONIC, CLOCK_MONOTONIC_RAW, CLOCK_MONOTONIC_COARSE, - CLOCK_MONOTONIC, CLOCK_REALTIME_COARSE, CLOCK_REALTIME, };