NSTimeInterval someInterval = [NSDate timeIntervalSinceReferenceDate];
From the docs:
NSTimeInterval is always specified in seconds; it yields sub-
millisecond precision over a range of 10,000 years.
HTH,
Dave
On Dec 2, 2008, at 12:08 AM, Daniel Luis dos Santos wrote:
Hello,
Not sure I
Hello,
Not sure I should ask this here.
How do I get time measurements in milliseconds? What is the accuracy
of the mac's C library implementation ?
I am using the clock() function from time.h and measuring differences
in seconds between the trigering of a NSTimer.
The NSTimer fires
On 02/12/2008, at 5:08 PM, Daniel Luis dos Santos wrote:
Hello,
Not sure I should ask this here.
How do I get time measurements in milliseconds? What is the accuracy
of the mac's C library implementation ?
I am using the clock() function from time.h and measuring
differences in seconds