public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Accuracy of clock
@ 2004-11-24  7:08 Ankit Jain
  2004-11-24 14:23 ` Nathan Sidwell
  0 siblings, 1 reply; 2+ messages in thread
From: Ankit Jain @ 2004-11-24  7:08 UTC (permalink / raw)
  To: gcc; +Cc: gcc

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 microsecond

thanks

ankit jain

________________________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Accuracy of clock
  2004-11-24  7:08 Accuracy of clock Ankit Jain
@ 2004-11-24 14:23 ` Nathan Sidwell
  0 siblings, 0 replies; 2+ messages in thread
From: Nathan Sidwell @ 2004-11-24 14:23 UTC (permalink / raw)
  To: Ankit Jain; +Cc: gcc, gcc

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-11-24 14:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-24  7:08 Accuracy of clock Ankit Jain
2004-11-24 14:23 ` Nathan Sidwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).