• 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: Displaying time
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Displaying time


  • Subject: Re: Displaying time
  • From: Graham Cox <email@hidden>
  • Date: Sat, 23 Aug 2008 00:00:46 +1000


On 22 Aug 2008, at 11:54 pm, Negm-Awad Amin wrote:

This is not ugly, but the starting point for a software PLL.


Well, there's no "loop" to phase lock here. The PLL analogy might hold up if you used your timer to measure the interval between changes of the clock, then use that to change the timer rate (feedback). Then you could ensure that the timer callback always occurred within a certain interval of the clock changing (analogous to the phase delay in a PLL). But, it's pretty complex for such a simple task, and not necessary. If the clock were running much, much faster and you wanted to keep up with sub-millisecond changes then yes, you might have a point...

cheers, Graham
_______________________________________________

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: Displaying time
      • From: Negm-Awad Amin <email@hidden>
References: 
 >Re: Displaying time (From: Gregory Weston <email@hidden>)
 >Re: Displaying time (From: Ron Fleckner <email@hidden>)
 >Re: Displaying time (From: Graham Cox <email@hidden>)
 >Re: Displaying time (From: Negm-Awad Amin <email@hidden>)
 >Re: Displaying time (From: Thomas Davie <email@hidden>)
 >Re: Displaying time (From: Negm-Awad Amin <email@hidden>)
 >Re: Displaying time (From: Thomas Davie <email@hidden>)
 >Re: Displaying time (From: Negm-Awad Amin <email@hidden>)

  • Prev by Date: Re: Displaying time
  • Next by Date: Re: Displaying time
  • Previous by thread: Re: Displaying time
  • Next by thread: Re: Displaying time
  • Index(es):
    • Date
    • Thread