• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: best way to do precise timing on iphone?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: best way to do precise timing on iphone?


  • Subject: Re: best way to do precise timing on iphone?
  • From: Phil <email@hidden>
  • Date: Fri, 6 Feb 2009 01:14:57 +1300

On Fri, Feb 6, 2009 at 1:06 AM, Memo Akten <email@hidden> wrote:
> Hi ALl, i'm aware that on desktop using mach_absolute_time() is the way to
> go for precise timing of code
> (http://developer.apple.com/qa/qa2004/qa1398.html) but I was wondering what
> is the alternative for iphone? not sure if this is the right place to post,
> but I"d gladly repost if someone could point me to the right place. I'm
> guessing NSDate isn't going to be that accurate for this kind of stuff...

You can use mach_absolute_time() on the iPhone.

Future questions about iPhone development should be directed to the
developer forums though:
<https://devforums.apple.com/>

Phil
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: best way to do precise timing on iphone?
      • From: Memo Akten <email@hidden>
References: 
 >best way to do precise timing on iphone? (From: Memo Akten <email@hidden>)

  • Prev by Date: best way to do precise timing on iphone?
  • Next by Date: Re: best way to do precise timing on iphone?
  • Previous by thread: best way to do precise timing on iphone?
  • Next by thread: Re: best way to do precise timing on iphone?
  • Index(es):
    • Date
    • Thread