public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* "[edk] Caculating time delay in milliseconds"
@ 2017-03-02 11:53 Arka Sharma
  2017-03-02 12:05 ` Michael Zimmermann
  0 siblings, 1 reply; 6+ messages in thread
From: Arka Sharma @ 2017-03-02 11:53 UTC (permalink / raw)
  To: edk2-devel

gRT->GetTime() is accurate about seconds.Is there any way to calculate
time difference in milliseconds ?
Let's say

Time1 = GetTimeMs();

//
// Some tasks
//

Time2 = GetTimeMs();

//
// Time taken
//
GetTimeDiff (Time1, Time2);

Something like this

Regards,
Arka


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-03-06  6:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-02 11:53 "[edk] Caculating time delay in milliseconds" Arka Sharma
2017-03-02 12:05 ` Michael Zimmermann
2017-03-02 18:08   ` Kinney, Michael D
2017-03-06  4:20     ` Arka Sharma
2017-03-06  4:30     ` Arka Sharma
2017-03-06  6:52       ` Michael Zimmermann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox