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


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#73604): https://edk2.groups.io/g/devel/message/73604
Mute This Topic: https://groups.io/mt/77073830/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to