Calculate difference between two TscTimePoint in the given units
Convert to any of the units accepted by toDuration
Various conversion functions
Minimal, maximal and zero constants for reference.
Minimal, maximal and zero constants for reference.
Calculate a TscTimePoint for a set duration from now
Calculate a TscTimePoint for a time given in systime from now
Get a TscTimePoint representing now.
Get a TscTimePoint representing now.
Set the frequency with which we take a hard TSC reading
Various conversion functions
Provide the cycles/time ratio for the current machine.
Prepared dividor for the cycles/time value
Provide the cycles/time ratio for the current machine.
Prepared dividor for the cycles/time value
Provide the cycles/time ratio for the current machine.
Prepared dividor for the cycles/time value
Time represented by TscTimePoint in units of cycles.
A time point maintained through the TSC timer
TSC is a time counter maintained directly by the CPU. It counts how many "cycles" (loosly corresponding to actual CPU cycles) since an arbitrary start point. It is read by a single assembly instruciton, and is more efficient to read than kernel operatons.