eztimer
Easy timing of C++ functions
Loading...
Searching...
No Matches
eztimer.hpp File Reference

Easy timing of C++ functions. More...

#include <chrono>
#include <vector>
#include <string>
#include <cstddef>
#include <random>
#include <optional>
#include <functional>
#include <cassert>

Go to the source code of this file.

Classes

struct  eztimer::Options
 Options for time(). More...
 
struct  eztimer::Timings
 Timings for each function. More...
 

Namespaces

namespace  eztimer
 Easy timing of C++ functions.
 

Functions

template<typename Result_ >
std::vector< Timingseztimer::time (const std::vector< std::function< Result_()> > &funs, const std::function< void(const Result_ &, std::size_t)> &check, const Options &opt)
 

Detailed Description

Easy timing of C++ functions.