Expand description
Conversion between ticks and more convenient date/time representations
Structs§
- Convert
Ticks - ConvertTicks helps converting between a process’s tick count and more convenient date/time representations
- Time
Range - A time range, with a beginning and an end.
Functions§
- datetime_
to_ scalar - Converts a
DateTime<Utc>to aScalarValue. - get_
tsc_ frequency_ inverse_ ms - Returns the inverse of the TSC frequency in milliseconds.
- get_
tsc_ frequency_ inverse_ ns - Returns the inverse of the TSC frequency in nanoseconds.
- make_
time_ converter_ from_ block_ meta - Creates a
ConvertTicksfrom a block’s metadata. - make_
time_ converter_ from_ db - Creates a
ConvertTicksfrom a database connection. - make_
time_ converter_ from_ latest_ timing - Creates a
ConvertTicksusing the latest timing information from the process. This should be used instead of per-block timing to ensure consistent tick conversion across all blocks from the same process.