• 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
Just how accurate is timeIntervalSinceReferenceDate ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Just how accurate is timeIntervalSinceReferenceDate ?


  • Subject: Just how accurate is timeIntervalSinceReferenceDate ?
  • From: AndrĂ© Berg <email@hidden>
  • Date: Wed, 24 Sep 2008 18:48:17 +0200

Hi,

NSDate's timeIntervalSinceReferenceDate returns a double value, that has changing decimal places up to 10e-23, but we all know that is not possible, because that would be even more than attoseconds precision. And the docs just speak of "sub-milliseconds" precision.

So, just how accurate is it?

Can it be used as replacement for counting nanoseconds/per instruction as with UpTime() ?

André
_______________________________________________

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


  • Prev by Date: Handling User Generated Tablet Events
  • Next by Date: unable to break out of runloop because timers are fired and then the loop waits
  • Previous by thread: Handling User Generated Tablet Events
  • Next by thread: unable to break out of runloop because timers are fired and then the loop waits
  • Index(es):
    • Date
    • Thread