LMMS
Loading...
Searching...
No Matches
dsp::simple_benchmark< Target, Stat > Class Template Reference

#include <benchmark.h>

Inheritance diagram for dsp::simple_benchmark< Target, Stat >:
dsp::benchmark_globals

Public Member Functions

template<class... ConstrArgs>
 simple_benchmark (Stat &_stat, ConstrArgs... args)
void measure (int runs, int repeats)
float get_stat ()

Public Attributes

Target target
Stat & stat

Additional Inherited Members

Static Public Attributes inherited from dsp::benchmark_globals
static bool warned = false

Constructor & Destructor Documentation

◆ simple_benchmark()

template<typename Target, class Stat>
template<class... ConstrArgs>
dsp::simple_benchmark< Target, Stat >::simple_benchmark ( Stat & _stat,
ConstrArgs... args )
inline

Member Function Documentation

◆ get_stat()

template<typename Target, class Stat>
float dsp::simple_benchmark< Target, Stat >::get_stat ( )
inline

◆ measure()

template<typename Target, class Stat>
void dsp::simple_benchmark< Target, Stat >::measure ( int runs,
int repeats )
inline

Member Data Documentation

◆ stat

template<typename Target, class Stat>
Stat& dsp::simple_benchmark< Target, Stat >::stat

◆ target

template<typename Target, class Stat>
Target dsp::simple_benchmark< Target, Stat >::target

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