Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
psyren
· 14y ago · 0 comments
When writing profiling code (
https://github.com/vstefan/Instrum/
), I use clock_gettime(CLOCK_MONOTONIC) as it measures elapsed time from an arbitrary reference point.
Comments
[–]
VMG
14y ago
...which is still measuring real time, not the time spent by the current process, or am I wrong? (maybe the downvoter can explain)