Re: Frame rate check

2008-06-04 Thread Davide Scheriani
. On 4 Jun 2008, at 7:28 am, 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 ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests

Re: Frame rate check

2008-06-04 Thread Shawn Erickson
On Tue, Jun 3, 2008 at 11:38 PM, Davide Scheriani [EMAIL PROTECTED] wrote: yes I was looking just to see the times draawREct get called. is it a weay to set a limit framerate as well? mean 25fps or to ask from the cpu/gpu 120fps? When you are asked to draw (drawRect:) you really must draw what

Frame rate check

2008-06-03 Thread Davide Scheriani
hi, I wanted to do a small frame rate check to see on my nsview as debug output. How can I do this? tnx ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

Re: Frame rate check

2008-06-03 Thread Graham Cox
Depends what you mean by frame rate. The number of times drawRect: is called per second? Easy to calculate/present but is it useful? G. On 4 Jun 2008, at 7:28 am, 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

Re: Frame rate check

2008-06-03 Thread Ken Thomases
On Jun 3, 2008, at 4:28 PM, Davide Scheriani wrote: I wanted to do a small frame rate check to see on my nsview as debug output. How can I do this? Depending on what you're actually looking for, you might have a look at Quartz Debug.app (in /Developer/Applications/Graphics Tools). From

Re: Frame rate check

2008-06-03 Thread Ken Ferry
, 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