JayBeams  0.1
Another project to have fun coding.
Namespaces | Macros | Variables
microbenchmark_config.cpp File Reference
#include "jb/testing/microbenchmark_config.hpp"

Go to the source code of this file.

Namespaces

 jb
 The top-level namespace for the JayBeams library.
 
 jb::testing
 Helper functions and classes to simplify unit tests.
 
 jb::testing::defaults
 Define the default values for a microbenchmark config.
 

Macros

#define JB_DEFAULTS_microbenchmark_warmup_iterations   100
 
#define JB_DEFAULTS_microbenchmark_iterations   1000
 
#define JB_DEFAULTS_microbenchmark_size   0
 
#define JB_DEFAULTS_microbenchmark_verbose   false
 
#define JB_DEFAULTS_microbenchmark_reconfigure_thread   true
 

Variables

int jb::testing::defaults::warmup_iterations = JB_DEFAULTS_microbenchmark_warmup_iterations
 
int jb::testing::defaults::iterations = JB_DEFAULTS_microbenchmark_iterations
 
int jb::testing::defaults::size = JB_DEFAULTS_microbenchmark_size
 
bool jb::testing::defaults::verbose = JB_DEFAULTS_microbenchmark_verbose
 
bool jb::testing::defaults::reconfigure_thread = JB_DEFAULTS_microbenchmark_reconfigure_thread
 

Macro Definition Documentation

◆ JB_DEFAULTS_microbenchmark_iterations

#define JB_DEFAULTS_microbenchmark_iterations   1000

Definition at line 34 of file microbenchmark_config.cpp.

◆ JB_DEFAULTS_microbenchmark_reconfigure_thread

#define JB_DEFAULTS_microbenchmark_reconfigure_thread   true

Definition at line 46 of file microbenchmark_config.cpp.

◆ JB_DEFAULTS_microbenchmark_size

#define JB_DEFAULTS_microbenchmark_size   0

Definition at line 38 of file microbenchmark_config.cpp.

◆ JB_DEFAULTS_microbenchmark_verbose

#define JB_DEFAULTS_microbenchmark_verbose   false

Definition at line 42 of file microbenchmark_config.cpp.

◆ JB_DEFAULTS_microbenchmark_warmup_iterations

#define JB_DEFAULTS_microbenchmark_warmup_iterations   100

Definition at line 30 of file microbenchmark_config.cpp.