47 void reset (
double sampleRate,
int blockSize);
50 double getLoadAsProportion()
const;
53 double getLoadAsPercentage()
const;
56 int getXRunCount()
const;
90 void registerBlockRenderTime (
double millisecondsTaken);
96 void registerRenderTime (
double millisecondsTaken,
int numSamples);
99 void registerRenderTimeLocked (
double,
int);
102 int samplesPerBlock = 0;
103 double msPerSample = 0;
Maintains an ongoing measurement of the proportion of time which is being spent inside an audio callb...
~AudioProcessLoadMeasurer()
Destructor.
A simple spin-lock class that can be used as a simple, low-overhead mutex for uncontended situations.
This class measures the time between its construction and destruction and adds it to an AudioProcessL...