Re: (RS) hi-res clock function
Re: (RS) hi-res clock function
- Subject: Re: (RS) hi-res clock function
- From: Shawn Erickson <email@hidden>
- Date: Wed, 25 Oct 2006 08:52:51 -0700
On Oct 25, 2006, at 4:48 AM, Roland Silver wrote:
The following code snippet reveals that the time elapsed between
one invocation of [NSDate date] and an immediately following one
can be as little as 2 usec (on my Powerbook G4).
A related experiment shows that the resolution of the GNU clock()
function on the PowerBook is no less than 16 usec.
Is there a function like clock() that returns time (since some
origin) directly to a finer resolution than clock does?
Not clear what exactly you are asking for but... <http://
developer.apple.com/qa/qa2004/qa1398.html>
-Shawn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden