Struct Benchmark

Struct Documentation

struct Benchmark

Public Functions

inline Benchmark(std::string &&benchmarkName)
template<class FUN>
inline Benchmark(std::string &&benchmarkName, FUN &&func)
template<typename Clock>
inline ExecutionPlan<FloatDuration<Clock>> prepare(const IConfig &cfg, Environment<FloatDuration<Clock>> env) const
template<typename Clock = default_clock>
inline void run()
template<typename Fun, std::enable_if_t<!Detail::is_related<Fun, Benchmark>::value, int> = 0>
inline Benchmark &operator=(Fun func)
inline explicit operator bool()