Re: Timing some code execution outside Instruments
Re: Timing some code execution outside Instruments
- Subject: Re: Timing some code execution outside Instruments
- From: Howard Siegel <email@hidden>
- Date: Thu, 21 Jul 2011 11:11:02 -0700
Yes
On Thu, Jul 21, 2011 at 10:59, Eric E. Dolecki <email@hidden> wrote:
> 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?
>
> Would one use a NSDate object?
>
>
_______________________________________________
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