projects
/
urcu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from:
3fa1828
)
caa_get_cycles: caa_ prefix for type, use CLOCK_MONOTONIC
author
Mathieu Desnoyers
<mathieu.desnoyers@efficios.com>
Mon, 28 Sep 2015 16:58:59 +0000
(12:58 -0400)
committer
Mathieu Desnoyers
<mathieu.desnoyers@efficios.com>
Mon, 28 Sep 2015 16:58:59 +0000
(12:58 -0400)
clock_gettime() of CLOCK_MONOTONIC mimicks better the behavior of a
cycle counter, since it is not affected by NTP major time updates.
Also, now prefix "cycles_t" with a caa_ prefix, so it does not clash
with application namespaces. Anyway, caa_get_cycles() is mostly used in
testing.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
No differences found
This page took
0.025071 seconds
and
4
git commands to generate.