Skip to content
Commit 625b5f5a authored by Daniel Leung's avatar Daniel Leung Committed by Carles Cufí
Browse files

tests: timing_info: need to calibrate TSC frequency on x86



For x86, TSC is being used to gather timing information. However,
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC is not the same as TSC
frequency when HPET (or other) timer is used. So use the system
clock to calibrate the TSC frequency so we can use it to
calculate timing information.

Signed-off-by: default avatarDaniel Leung <daniel.leung@intel.com>
parent ffbc75f9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment