Accuracy of clock
Nathan Sidwell
nathan@codesourcery.com
Wed Nov 24 15:35:00 GMT 2004
Ankit Jain wrote:
> I want to confirm if the clock like gettimeofday or
> clock_gettime has any bugs and if then how much
> inaccurate are these clock. i want to know the time
> taken by my program in microseconds
there is at least one bug in the set of all 'gettimeofday' functions that
have ever existed :)
* you are in the wrong place, ask somewhere relevent to your system
* you do not specify your system, so you'll need to determine that
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk
More information about the Gcc
mailing list