PDA

View Full Version : Time Measurement



Krish_ng
20th July 2007, 12:01
Is there any method to calculate the elapsed time in micro sceonds...I tried elapsed() but it gives time in milli seconds...

kernel_panic
20th July 2007, 12:12
on windows you could try this:
http://www.codeproject.com/datetime/highreselapsedtimer.asp?df=100&forumid=3030&exp=0&select=89824
and for linux look here if you can use some code:
http://lists.trolltech.com/qt-interest/1998-03/msg00007.html
http://lists.trolltech.com/qt-interest/2005-09/msg00653.html

marcel
20th July 2007, 12:14
No, none that I know of...
Would it be to inaccurate to multiply by 1000 the number of milliseconds?

Regards

jpn
20th July 2007, 12:34
http://www.qtcentre.org/forum/f-general-programming-9/t-current-time-with-microsecond-precision-on-windows-1606.html