[if gte mso 9]>

[edk2] StdLib uses TimerLib

Subject: [edk2] StdLib uses TimerLib

From: "Cohen, Eugene" <eugene@hp.com>

To: "edk2-devel@lists.sourceforge.net" <edk2-devel@lists.sourceforge.net>

Date: 2011-08-24 23:22:58

I noticed StdLib uses TimerLib (LibC.inf and Time.inf).  TimerLib provides a platform/chipset/processor specific timer interface and therefore is not suitable for linking against apps and drivers (that are not intended to be part of the platform).

 

I see that the use case here is to call GetPerformanceCounter.  If a portable app or driver needs performance counter access then I think we must add a protocol interface to abstract this.

 

Eugene