Fetch current timestamp. This timer has the following properties:
- Monotonicity is guaranteed.
- The initial value will be at least 24*3600*30*1e6, i.e. about
30 days worth of microseconds. In this way, the timestamp value of
0 will always be at least "30 days ago". Also, negative numbers
will never be returned.
- Wraparound / overflow is not a practical concern.
If you are running under the debugger and stop the process, the clock
might not advance the full wall clock time that has elapsed between
calls. If the process is not blocked from normal operation, the
timestamp values will track wall clock time, even if you don't call
the function frequently.
The value is only meaningful for this run of the process. Don't compare
it to values obtained on another computer, or other runs of the same process.
Fetch current timestamp. This timer has the following properties:
- Monotonicity is guaranteed. - The initial value will be at least 24*3600*30*1e6, i.e. about 30 days worth of microseconds. In this way, the timestamp value of 0 will always be at least "30 days ago". Also, negative numbers will never be returned. - Wraparound / overflow is not a practical concern.
If you are running under the debugger and stop the process, the clock might not advance the full wall clock time that has elapsed between calls. If the process is not blocked from normal operation, the timestamp values will track wall clock time, even if you don't call the function frequently.
The value is only meaningful for this run of the process. Don't compare it to values obtained on another computer, or other runs of the same process.