55 void reset (
double sampleRate,
int blockSize);
58 double getLoadAsProportion()
const;
61 double getLoadAsPercentage()
const;
64 int getXRunCount()
const;
96 void registerBlockRenderTime (
double millisecondsTaken);
99 double cpuUsageMs = 0, timeToCpuScale = 0, msPerBlock = 0;
Maintains an ongoing measurement of the proportion of time which is being spent inside an audio callb...
#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...