JayBeams  0.1
Another project to have fun coding.
Classes | Namespaces | Functions
microbenchmark.hpp File Reference
#include <jb/detail/reconfigure_thread.hpp>
#include <jb/testing/microbenchmark_base.hpp>
#include <type_traits>
#include <utility>

Go to the source code of this file.

Classes

class  jb::testing::microbenchmark< Fixture >
 Run a micro-benchmark on a given class. More...
 

Namespaces

 jb
 The top-level namespace for the JayBeams library.
 
 jb::testing
 Helper functions and classes to simplify unit tests.
 
 jb::testing::detail
 

Functions

template<typename Fixture , typename... Args>
void jb::testing::detail::call_iteration_setup (Fixture &&, Args &&...)
 A helper to call Fixture::iteration_setup() in the microbenchmarks. More...
 
template<typename Fixture , typename = decltype(std::declval<Fixture>().iteration_setup())>
void jb::testing::detail::call_iteration_setup (Fixture &&fixture)
 A helper to call Fixture::iteration_setup() in the microbenchmarks. More...
 
template<typename Fixture , typename... Args>
void jb::testing::detail::call_iteration_teardown (Fixture &&, Args &&...)
 A helper to call Fixture::iteration_teardown() in the microbenchmarks. More...
 
template<typename Fixture , typename = decltype(std::declval<Fixture>().iteration_teardown())>
void jb::testing::detail::call_iteration_teardown (Fixture &&fixture)
 A helper to call Fixture::iteration_teardown() in the microbenchmarks. More...