On OSX 'profile 1' turns the internal fps meter on, and sending a 'fps' message to the gemwin will spit out a number at the gemwin outlet.
I've attached a little abstraction that will output the fps in the gemwin. Attach a toggle to the left intlet and the output of the gemwin to the right inlet. The left outlet goes back to the gemwin inlet and the right outlet can be connected to a number box.
This is only the total patch throughput, and it's not 'really' profiling. For that I cannot strongly enough recommend Apple's CHUD tools, and Shark in particular for profiling. In fact, tonight I am giving a presentation on Shark and code profiling, and might post some sort of document based on this in the future.
cgc
On Feb 3, 2004, at 1:23 PM, ben@ekran.org wrote:
Hello all,
How can I get Gem to report how long it takes to render the frames?
Chris posted something about "profile 0|1|2" which gemwin accepts, but I don't get any results back out.
Thanks!
Ben
GEM-dev mailing list GEM-dev@iem.at http://iem.at/cgi-bin/mailman/listinfo/gem-dev