1. Since the time it takes to find specified GUID Extension Hob (CpuCrystalFrequencyHob: about 2000ns)
is much longer than it takes to calculate TSC frequency with CPUID (about 450ns), I recommend using
BaseCpuTimerLib instead of PeiCpuTimerLib.
2. The time it takes to get TSC frequency from global variable is shorter than it takes to calculate TSC
frequency with CPUID, but 450ns is really a short time, the impact on the platform is very limited.
In addition, in order to simplify the code, recommend using BaseCpuTimerLib instead of DxeCpuTimerLib.
If anyone has questions or concerns, please feel free to let me know. If not, I will submit code patch later,
thanks.
Jason Lou