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.
This commit is contained in:
Matthias Clasen 2019-05-15 13:52:12 -04:00
parent 7793818f2a
commit 45b552d146

View File

@ -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,
};