Loading...
Searching...
No Matches
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...

#include <juce_AudioProcessLoadMeasurer.h>

Public Member Functions

 ScopedTimer (AudioProcessLoadMeasurer &)
 
 ScopedTimer (AudioProcessLoadMeasurer &, int numSamplesInBlock)
 
 ~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();
}
This class measures the time between its construction and destruction and adds it to an AudioProcessL...
Definition juce_AudioProcessLoadMeasurer.h:76

Constructor & Destructor Documentation

◆ ScopedTimer() [1/2]

AudioProcessLoadMeasurer::ScopedTimer::ScopedTimer ( AudioProcessLoadMeasurer & )

◆ ScopedTimer() [2/2]

AudioProcessLoadMeasurer::ScopedTimer::ScopedTimer ( AudioProcessLoadMeasurer & ,
int numSamplesInBlock )

◆ ~ScopedTimer()

AudioProcessLoadMeasurer::ScopedTimer::~ScopedTimer ( )

The documentation for this struct was generated from the following file:
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram