Profiling tools.

This commit is contained in:
Robin Davies
2024-09-04 13:24:45 -04:00
parent f82c1f788b
commit 7774dc06e6
7 changed files with 17 additions and 5 deletions
+4
View File
@@ -153,6 +153,10 @@ void profilePlugin(const ProfileOptions &profileOptions)
RingBufferSink ringBufferSink(writerRingbuffer);
// run once to get memory allocations in NAM and ML out of the way.
lv2Pedalboard->Run(inputBuffers, outputBuffers, nFrames, &ringBufferWriter);
/* *** Pump the plugin for a bit if it is expected to do work on the scheduler thread when initializing */
if (profileOptions.waitForWork)
{