> I'm curious if there is a way to NSLog how long some code takes to execute
> (outside of using Instruments).
> 
> In Flash one can use getTimer and see how much time passed inline. Is there
> a way to do this in Obj-C?

You can use the basic old std C routines like clock ().

Vincent
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to