Crate rpkt_time

Crate rpkt_time 

Source

Structs§

Anchor
An anchor which can be used to convert internal clocking counter into system timestamp.
Instant
A measurement of a monotonically nondecreasing clock. Similar to std::time::Instant but is faster and more accurate with stable TSC.

Functions§

cycles_per_sec
Return the number of CPU cycles of 1 second. It can be used to caclculate future tsc counter value after a fixed time interval.
tsc_stable
Return whether tsc is stable on the current system.