On 08/10/2016 09:37 PM, Star Zeng wrote:
Minimize the code overhead between the two TSC reads by adding new internal API to calculate TSC Frequency instead of reusing MicroSecondDelay ().
Why not just use the MSR_PLATFORM_INFO (0xce) register bits 15..8, on CPUs where it's available, to read the TSC frequency directly?
-- Brian J. Johnson -------------------------------------------------------------------- My statements are my own, are not authorized by SGI, and do not necessarily represent SGI’s positions. _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel