Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LARN
X-Lap
Commits
f505e089
Commit
f505e089
authored
Feb 16, 2018
by
Andreas Schmidt
Browse files
Use CLOCK_REALTIME.
parent
6a988710
Changes
1
Show whitespace changes
Inline
Side-by-side
xlap.h
View file @
f505e089
...
...
@@ -153,7 +153,7 @@ typedef char XlapTimestampPlaceholder;
*/
#ifdef XLAP
# 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)
#else
/* XLAP */
# define XlapTimeStampClock(sck, kind, seqno, id) do { \
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment