• 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: Frame rate check
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Frame rate check


  • Subject: Re: Frame rate check
  • From: "Ken Ferry" <email@hidden>
  • Date: Tue, 3 Jun 2008 21:13:18 -0700

You'll be capped at 60 fps unless you turn off beam sync in Quartz
Debug.  <http://developer.apple.com/qa/qa2001/qa1236.html#TNTAG9>

And Quartz Debug can report frame rate, as Ken mentioned.

-Ken

On Tue, Jun 3, 2008 at 8:19 PM, Paul Bruneau
<email@hidden> wrote:
> On Jun 3, 2008, at 5:28 PM, Davide Scheriani wrote:
>
>> hi,
>> I wanted to do a small frame rate check to see on my nsview as debug
>> output.
>> How can I do this?
>>
>> tnx
>
> I made an NSDate ivar in the view.
> At the start of drawRect I stored the current time in it.
> At the end of drawRect I subtracted that ivar from the current time at that
> point in the code.
> I took the reciprocal of that result (seconds per frame) to get fps and drew
> the string into my view.
> I found it very useful to see how fast my view was drawing.
> _______________________________________________
>
> 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
>
_______________________________________________

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

References: 
 >Frame rate check (From: Davide Scheriani <email@hidden>)
 >Re: Frame rate check (From: Paul Bruneau <email@hidden>)

  • Prev by Date: 10.5 Only: If I say NO, NSOutlineView ignores cmd key, does its own thing
  • Next by Date: Re: NSObjectController needless in "Intro to Bindings"?
  • Previous by thread: Re: Frame rate check
  • Next by thread: NSObjectController needless in "Intro to Bindings"?
  • Index(es):
    • Date
    • Thread