Ardour  9.0-pre0-582-g084a23a80d
Benchmark Class Referenceabstract

#include <benchmark.h>

Public Member Functions

 Benchmark (std::string const &)
 
virtual ~Benchmark ()
 
void set_iterations (int)
 
double run ()
 
virtual void do_run (ArdourCanvas::ImageCanvas &)=0
 
virtual void finish (ArdourCanvas::ImageCanvas &)
 

Private Attributes

ArdourCanvas::ImageCanvas * _canvas
 
int _iterations
 

Detailed Description

Definition at line 11 of file benchmark.h.

Constructor & Destructor Documentation

◆ Benchmark()

Benchmark::Benchmark ( std::string const &  )

◆ ~Benchmark()

virtual Benchmark::~Benchmark ( )
inlinevirtual

Definition at line 15 of file benchmark.h.

Member Function Documentation

◆ do_run()

virtual void Benchmark::do_run ( ArdourCanvas::ImageCanvas &  )
pure virtual

◆ finish()

virtual void Benchmark::finish ( ArdourCanvas::ImageCanvas &  )
inlinevirtual

Definition at line 21 of file benchmark.h.

◆ run()

double Benchmark::run ( )

◆ set_iterations()

void Benchmark::set_iterations ( int  )

Member Data Documentation

◆ _canvas

ArdourCanvas::ImageCanvas* Benchmark::_canvas
private

Definition at line 24 of file benchmark.h.

◆ _iterations

int Benchmark::_iterations
private

Definition at line 25 of file benchmark.h.


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