Re: My Sampler Output
Re: My Sampler Output
- Subject: Re: My Sampler Output
- From: Bill Stewart <email@hidden>
- Date: Mon, 11 Nov 2002 01:08:18 -0800
Sample doesn't tell you anything about the actual TIME you spend in a
particular call - just how many times that call's code was executed
during the time sampled...
Thus, the sample below says the method AUBase::DoRenderSlice was called
199 times - but if you've got more than one unit in your graph, that
number includes ALL of the instances of AUBase that are executing this
call - not just your audio unit.
To do an evaluation of CPU usage of an app, the best tool to use is
Shikari - which is available somewhere... I'm not sure where but its
somewhere on the developer web site (others are using it on this list,
so they can probably tell you where to get it)
Bill
On Saturday, November 9, 2002, at 03:05 PM, Jeremy Sagan wrote:
I recently converted my app to use carbon events because it seemed to
run slow. Even now though it seems to run slow at idle time and I was
wondering if I am interpreting the below sampler output correctly.
This output was generated by clicking the sample button and then
walking away so all samples are taken at idle time (meaning the app is
not doing anything much)
Does this mean that I am spending my time DoRenderSlice?
Thanks,
Jeremy
Sampler Output:
Total number in stack (recursive counted multiple, when >=5):
199 AUBase::DoRenderSlice(unsigned long, AudioTimeStamp
const&, unsigned long, AudioBufferList&)
171 AUBase::DoRenderBus(unsigned long&, AudioTimeStamp
const&, unsigned long, AUOutputElement*, unsigned long,
AudioBufferList&)
131 AUInputElement::PullInput(unsigned long&,
AudioTimeStamp const&, unsigned long, unsigned long)
129 AudioUnitBaseRenderSlice(AUBase*, unsigned long,
AudioTimeStamp const*, unsigned long, AudioBuffer*)
107 _pthread_body
103 CAPThread::Entry(CAPThread*)
102 Thread_4a03
102 XThreadedDevice::IOThreadEntry(void*)
101 XThreadedDevice::IOThread()
88 XThreadedDevice::HandleIO(AudioTimeStamp const&, bool)
77 XBasicDevice::CallIOProcs(AudioTimeStamp const*,
AudioTimeStamp const*, AudioTimeStamp const*)
75 AUHAL::AUIOProc(unsigned long, AudioTimeStamp const*,
AudioBufferList const*, AudioTimeStamp const*, AudioBufferList*,
AudioTimeStamp const*, void*)
63 AUConverterBase::RenderBus(unsigned long&,
AudioTimeStamp const&, unsigned long, unsigned long)
44 AUEffectBase::Render(unsigned long&, AudioTimeStamp
const&, unsigned long)
37 AUMixer::Render(unsigned long&, AudioTimeStamp
const&, unsigned long)
21 AUMatrixReverb::Render(unsigned long&, AudioTimeStamp
const&, unsigned long)
13 ScheduleAUGraphDispatch(void*, unsigned long,
AudioTimeStamp const*, unsigned long, AudioBuffer*)
12
MusicEventDispatcherProcessGlobals::ScheduleAUGraph(long, double)
9 AUEffectBase::ProcessBufferLists(unsigned long&,
AudioBufferList const&, AudioBufferList&, unsigned long)
7 CAGuard::WaitUntil(unsigned long long)
7 MatrixReverb2::Process(float const*, float const*,
float*, float*, float*, float*, float*, int, int)
6 AUMixer::SumInput(int, float*, float*, int,
AudioTimeStamp const&, int)
6 CAGuard::WaitFor(unsigned long long)
6 CFRunLoopRunSpecific
6 QTMusicEventDispatcher::ScheduleMusicDeviceEvents(long)
6 ReceiveNextEventCommon
6 RunApplicationEventLoop
6 RunCurrentEventLoopInMode
6 Thread_4707
6 _AcquireNextEvent
6 __CFRunLoopRun
6 __code_start__
6 _pthread_cond_wait
6 _start
6 main
5 LimiterKernel::Process(float const*, float*, unsigned
long, unsigned long, bool&)
Sort by top of stack, same collapsed (when >= 5):
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________
__
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.