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;
104 std::atomic<double> cpuUsageProportion { 0 };
105 std::atomic<int> xruns { 0 };
~AudioProcessLoadMeasurer()