This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Accuracy of clock


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]