This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Accuracy of clock
- From: Nathan Sidwell <nathan at codesourcery dot com>
- To: Ankit Jain <ankitjain1580 at yahoo dot com>
- Cc: gcc <gcc-help at gcc dot gnu dot org>, gcc at gcc dot gnu dot org
- Date: Wed, 24 Nov 2004 14:22:05 +0000
- Subject: Re: Accuracy of clock
- Organization: Codesourcery LLC
- References: <20041124070826.62054.qmail@web52904.mail.yahoo.com>
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