IPhone: different system timers??

Posted by matt on Stack Overflow See other posts from Stack Overflow or by matt
Published on 2010-04-12T06:13:41Z Indexed on 2010/04/12 7:23 UTC
Read the original article Hit count: 222

Filed under:
|
|

I have been using mach_absolute_time() for all my timing functions so far. calculating how long between frames ect.

I now want to get the exact time touch input events happen using event.timestamp in the touch callbacks.

the problem is these two seem to use completely different timers. sure, you can get them both in seconds, but their origins are different and seemingly random...

is there any way to sync the two different timers?

or is there anyway to get access to the same timer that the touch input uses to generate that timestamp property? otherwise its next to useless.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about timers