JUCE
Public Member Functions | List of all members
AudioProcessLoadMeasurer::ScopedTimer Struct Reference

This class measures the time between its construction and destruction and adds it to an AudioProcessLoadMeasurer. More...

Public Member Functions

 ScopedTimer (AudioProcessLoadMeasurer &)
 
 ~ScopedTimer ()
 

Detailed Description

This class measures the time between its construction and destruction and adds it to an AudioProcessLoadMeasurer.

e.g.

{
AudioProcessLoadMeasurer::ScopedTimer timer (myProcessLoadMeasurer);
myCallback->doTheCallback();
}

Constructor & Destructor Documentation

◆ ScopedTimer()

AudioProcessLoadMeasurer::ScopedTimer::ScopedTimer ( AudioProcessLoadMeasurer )

◆ ~ScopedTimer()

AudioProcessLoadMeasurer::ScopedTimer::~ScopedTimer ( )

The documentation for this struct was generated from the following file: