Steve Loughran wrote:
Just a quicky... I need to be able to obtain a high precision time stamp
when certain events are triggered (more precise than time()), and after
searching cpan for some answers, it seems there are a lot of options I
could choose. Any pointers?
Time::HiRes should do what you need. From a quick scan of the source,
under Win32 it appears to use the Win32 API calls
QueryPerformanceCounter() and QueyPerformanceFrequency(), which is the
MS documented way to get accurate timestamps[1].
I've not looked at other options.
Regards,
Rob.
[1] See the last section of
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/windowing/timers.asp