Re: Stopwatch
Re: Stopwatch
- Subject: Re: Stopwatch
- From: j o a r <email@hidden>
- Date: Sun, 12 Jun 2005 15:19:43 -0700
On 12 jun 2005, at 15.14, Eric Brunstad wrote:
Again, I was just trying to get a general idea. I also used a
counter and steped it up each time the timer fired to be sure the
timer was getting bogged down after I used the crude NSLog()
method. Since the counter only got up to about five after about a
minute, it was clear that the timer was not going 30 times a
minute. I don't really care about the exact amount of times the
timer fired, though.
The timer will only fire if the run loop is idle when it's about to
fire. If not, it will fire as soon as the run loop is idle again.
That's part of the documented behaviour of NSTimer (and it would be
rather tricky to implement it in any other way, at least as a
generalized implementation of timer functionality).
If the run loop is idle, it should be very exact though. At least ms
precision.
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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