Commit f505e089 authored by Andreas Schmidt's avatar Andreas Schmidt
Browse files

Use CLOCK_REALTIME.

parent 6a988710
...@@ -153,7 +153,7 @@ typedef char XlapTimestampPlaceholder; ...@@ -153,7 +153,7 @@ typedef char XlapTimestampPlaceholder;
*/ */
#ifdef XLAP #ifdef XLAP
# define XlapTimeStampClock(sck, kind, seqno, id) do { \ # define XlapTimeStampClock(sck, kind, seqno, id) do { \
clock_gettime(CLOCK_MONOTONIC, &atomic_load_explicit(&(sck)->tstable[kind], memory_order_acquire)->rows[(seqno) % TS_ROWS].time[ts_##id].actual.t); \ clock_gettime(CLOCK_REALTIME, &atomic_load_explicit(&(sck)->tstable[kind], memory_order_acquire)->rows[(seqno) % TS_ROWS].time[ts_##id].actual.t); \
} while (0) } while (0)
#else /* XLAP */ #else /* XLAP */
# define XlapTimeStampClock(sck, kind, seqno, id) do { \ # define XlapTimeStampClock(sck, kind, seqno, id) do { \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment