Function timestamp_cycles

Source
pub fn timestamp_cycles() -> u64
Expand description

Returns a timestamp in nanoseconds from a monotonic clock.

Uses _rdstc on x86_64 and get_time on other architectures.