53 void reset (
double sampleRate,
int blockSize);
56 double getLoadAsProportion()
const;
59 double getLoadAsPercentage()
const;
62 int getXRunCount()
const;
85 JUCE_DECLARE_NON_COPYABLE (ScopedTimer)
92 void registerBlockRenderTime (
double millisecondsTaken);
95 double cpuUsageMs = 0, timeToCpuScale = 0, msPerBlock = 0;
#define JUCE_API
This macro is added to all JUCE public class declarations.
This class measures the time between its construction and destruction and adds it to an AudioProcessL...
Maintains an ongoing measurement of the proportion of time which is being spent inside an audio callb...