fn calibrate_tsc_state_inner(
rdtsc: fn() -> u64,
cores: Vec<usize>,
) -> Result<TscState>Expand description
Actually calibrate the TSC state.
This function takes a customizable version of rdtsc and a specific set of cores to calibrate, which is helpful for testing calibration logic and error handling.
ยงArguments
rdtsc- Function for reading the TSC value, usually just runs RDTSC instruction.cores- Cores to measure the TSC offset of.