Although the units of hi-res time are always the same (nanoseconds), the actual resolution is hardware dependent. Hi-res time is guaranteed to be monotonic (it does not go backward, it does not periodically wrap) and linear (it does not occasionally speed up or slow down for adjustment, as the
time of day can), but not necessarily unique: two sufficiently proximate calls might return the same value.
The time base used for this function is the same as that for gethrtime(3C). Values returned by both of these functions can be interleaved for comparison
purposes.
|