Re: Shark attributing time oddly to source
Re: Shark attributing time oddly to source
- Subject: Re: Shark attributing time oddly to source
- From: Rick Altherr <email@hidden>
- Date: Tue, 14 Apr 2009 00:10:32 -0700
On Apr 13, 2009, at 6:29 PM, Greg Guerin wrote:
Rick Altherr wrote:
- This function is called _very_ frequently but isn't inlined.
Thus, the time spent on the return is actually time spent in the
epilog of the function. You options are to reduce the number of
calls to the function or to inline it.
- The function runs very quickly but is also called frequently. In
this case, Nyquist might require a faster sampling rate. The
default is 1ms, but 100us is still reasonable. If the profile
changes when using 100us, you were seeing aliasing.
Or maybe if the function is approximately synchronized to the
sampling timer?
-- GG
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
@apple.com
This email sent to email@hidden
A little known feature in Shark is sampling interval jitter. You need
to dig into the configuration panel, but it is there precisely for
that scenario.
--
Rick Altherr
Performance Tools
Development Technologies
email@hidden
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden