Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

bench.h File Reference
#include <functional>
#include <limits>
#include <map>
#include <string>
#include <chrono>
#include <boost/preprocessor/cat.hpp>
#include <boost/preprocessor/stringize.hpp>
+ Include dependency graph for bench.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  benchmark::best_clock
 
class  benchmark::State
 
class  benchmark::BenchRunner
 

Namespaces

 benchmark
 

Macros

#define BENCHMARK(n)   benchmark::BenchRunner BOOST_PP_CAT(bench_, BOOST_PP_CAT(__LINE__, n))(BOOST_PP_STRINGIZE(n), n);
 

Typedefs

using benchmark::clock = best_clock::type
 
using benchmark::time_point = clock::time_point
 
using benchmark::duration = clock::duration
 
typedef std::function< void(State &)> benchmark::BenchFunction
 

Macro Definition Documentation

◆ BENCHMARK

#define BENCHMARK (   n)    benchmark::BenchRunner BOOST_PP_CAT(bench_, BOOST_PP_CAT(__LINE__, n))(BOOST_PP_STRINGIZE(n), n);

Definition at line 92 of file bench.h.

Released under the MIT license