Module calibrate

Source

Structsยง

TscMoment ๐Ÿ”’
Represents the host monotonic time and the TSC value at a single moment in time.
TscState

Enumsยง

TscCalibrationError

Constantsยง

TSC_CALIBRATION_DURATION ๐Ÿ”’
TSC_CALIBRATION_SAMPLES ๐Ÿ”’
TSC_CALIBRATION_STANDARD_DEVIATION_LIMIT ๐Ÿ”’
TSC_OFFSET_GROUPING_THRESHOLD ๐Ÿ”’

Functionsยง

calibrate_tsc_frequency ๐Ÿ”’
Calibrate the TSC frequency of core.
calibrate_tsc_state
Calibrate the TSC state.
calibrate_tsc_state_inner ๐Ÿ”’
Actually calibrate the TSC state.
measure_tsc_offset ๐Ÿ”’
Measure the TSC offset for core from core 0 where reference_moments were gathered.
sort_and_get_bounds ๐Ÿ”’
standard_deviation
Get the standard deviation of a Vec<T>.