This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/12515] clock() does not provide the advertised precision
- From: "schwab at linux-m68k dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Thu, 24 Feb 2011 12:45:59 +0000
- Subject: [Bug libc/12515] clock() does not provide the advertised precision
- Auto-submitted: auto-generated
- References: <bug-12515-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=12515
Andreas Schwab <schwab@linux-m68k.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> 2011-02-24 12:45:46 UTC ---
clock returns processor time, gettimeofday returns wall clock time, they are
completely different interfaces. Use clock_getres/clock_gettime for a modern
interface with advertised precision.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.