• 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
Timer in drawing loop performance problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Timer in drawing loop performance problems


  • Subject: Timer in drawing loop performance problems
  • From: Shayne Wissler <email@hidden>
  • Date: Fri, 14 Aug 2009 21:21:32 -0600

Hello,

Following the advice at
http://developer.apple.com/qa/qa2004/qa1385.html, I attempted using a
timer running at 1000Hz. However, on my iMac, this causes about a ~15%
CPU hit. When I run Shark, it says it's spending a good deal of time
in objc_msgSend, presumably in the call "[self setNeedsDisplay:YES]".

Is all this normal/expected?


Shayne Wissler
_______________________________________________

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: Timer in drawing loop performance problems
      • From: Roland King <email@hidden>
  • Prev by Date: Re: enterFullScreenMode and tearing
  • Next by Date: Re: Timer in drawing loop performance problems
  • Previous by thread: Re: enterFullScreenMode and tearing
  • Next by thread: Re: Timer in drawing loop performance problems
  • Index(es):
    • Date
    • Thread