> On Feb 4, 2016, at 9:35 AM, Shubha Ramani <shubharam...@yahoo.com> wrote: > > Hello Andrew Fish ? Anyone ? Does anyone know the answer to this question in > EDK2 ? > Shubha Shubha D. ramanishubharam...@gmail.com > shubharam...@yahoo.com > > On Wednesday, February 3, 2016 10:54 AM, Shubha Ramani > <shubharam...@yahoo.com> wrote: > > > Is there an EDK2 API which returns the current timetamp or current number of > ticks thathave elapsed in nanoseconds or milliseconds ?
Number of ticks since what? EFI does not have the concept of a timestamp. You can use gBS->Stall() to get a delay. > I have tried GetTime() and it returns the time in seconds. I need higher > resolution thanseconds. > I also tried GetPerformanceCounter() but I get 0 for some reason. You have likely linked against the wrong instance of the TimerLib. Thanks, Andrew Fish > Thanks ! > Shubha Shubha D. ramanishubharam...@gmail.com > shubharam...@yahoo.com > > > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel