Toolbox snapshot
The Reactive C++ Toolbox
Loading...
Searching...
No Matches
Public Member Functions | List of all members
toolbox::bm::BenchmarkSuite Class Reference

#include <toolbox/bm/Suite.hpp>

Public Member Functions

 BenchmarkSuite (std::ostream &os, double value_scale=1.0)
 
template<typename FnT >
void run (const char *name, FnT fn)
 
void report (const char *name, Histogram &hist)
 

Detailed Description

Definition at line 25 of file Suite.hpp.

Constructor & Destructor Documentation

◆ BenchmarkSuite()

toolbox::bm::BenchmarkSuite::BenchmarkSuite ( std::ostream &  os,
double  value_scale = 1.0 
)
explicit

Definition at line 27 of file Suite.cpp.

Member Function Documentation

◆ run()

template<typename FnT >
void toolbox::bm::BenchmarkSuite::run ( const char name,
FnT  fn 
)
inline

Definition at line 30 of file Suite.hpp.

◆ report()

void toolbox::bm::BenchmarkSuite::report ( const char name,
Histogram hist 
)

Definition at line 49 of file Suite.cpp.


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