JayBeams  0.1
Another project to have fun coding.
Namespaces | Typedefs | Functions
microbenchmark_group_main.hpp File Reference
#include <jb/testing/microbenchmark_config.hpp>
#include <jb/log.hpp>
#include <functional>
#include <iostream>
#include <map>
#include <stdexcept>
#include <string>

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::detail
 

Typedefs

template<typename config >
using jb::testing::microbenchmark_group = std::map< std::string, std::function< void(config const &cfg)> >
 Define a representation for a group of microbenchmarks. More...
 

Functions

int jb::testing::detail::report_exception_at_exit ()
 
template<typename config >
int jb::testing::microbenchmark_group_main (int argc, char *argv[], microbenchmark_group< config > const &testcases)
 Implement the main() function for a multi-testcase benchmark. More...
 
int jb::testing::microbenchmark_group_main (int argc, char *argv[], microbenchmark_group< microbenchmark_config > const &testcases)
 Overload microbenchmark_group_main for jb::testing::microbenchmark_config. More...