Crate rpkt_time

source ·

Structs

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

Functions

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