forked from AuroraMiddleware/gtk
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:
parent
7793818f2a
commit
45b552d146
@ -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,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user