This class measures the time between its construction and destruction and adds it to an AudioProcessLoadMeasurer. More...
#include <juce_AudioProcessLoadMeasurer.h>
Public Member Functions | |
ScopedTimer (AudioProcessLoadMeasurer &) | |
ScopedTimer (AudioProcessLoadMeasurer &, int numSamplesInBlock) | |
~ScopedTimer () | |
Private Attributes | |
AudioProcessLoadMeasurer & | owner |
int | samplesInBlock |
double | startTime |
This class measures the time between its construction and destruction and adds it to an AudioProcessLoadMeasurer.
e.g.
@tags{Audio}
juce::AudioProcessLoadMeasurer::ScopedTimer::ScopedTimer | ( | AudioProcessLoadMeasurer & | ) |
juce::AudioProcessLoadMeasurer::ScopedTimer::ScopedTimer | ( | AudioProcessLoadMeasurer & | , |
int | numSamplesInBlock | ||
) |
juce::AudioProcessLoadMeasurer::ScopedTimer::~ScopedTimer | ( | ) |
|
private |
|
private |
|
private |