Add Audio Server profiling time to the profiler
This commit is contained in:
parent
b64bf118f1
commit
9f6536bd0a
8 changed files with 198 additions and 84 deletions
|
|
@ -163,6 +163,8 @@ OSStatus AudioDriverCoreAudio::output_callback(void *inRefCon,
|
|||
return 0;
|
||||
};
|
||||
|
||||
ad->start_counting_ticks();
|
||||
|
||||
for (unsigned int i = 0; i < ioData->mNumberBuffers; i++) {
|
||||
|
||||
AudioBuffer *abuf = &ioData->mBuffers[i];
|
||||
|
|
@ -184,6 +186,7 @@ OSStatus AudioDriverCoreAudio::output_callback(void *inRefCon,
|
|||
};
|
||||
};
|
||||
|
||||
ad->stop_counting_ticks();
|
||||
ad->unlock();
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue