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

#include <toolbox/bm/Benchmark.hpp>

Public Member Functions

 Benchmark (const char *name, void(*fn)(Context &))
 

Public Attributes

const char *const name
 
void(* fn )(Context &)
 

Detailed Description

Definition at line 24 of file Benchmark.hpp.

Constructor & Destructor Documentation

◆ Benchmark()

toolbox::bm::Benchmark::Benchmark ( const char name,
void(*)(Context &)  fn 
)

Definition at line 83 of file Benchmark.cpp.

Member Data Documentation

◆ name

const char* const toolbox::bm::Benchmark::name

Definition at line 26 of file Benchmark.hpp.

Referenced by Benchmark().

◆ fn

void(* toolbox::bm::Benchmark::fn) (Context &)

Definition at line 27 of file Benchmark.hpp.


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