|
dune-pdelab 2.9
|
Loading...
Searching...
No Matches
benchmarkhelper.hh
Go to the documentation of this file.
76 BenchmarkHelper(std::string name, std::size_t max_runs = 1, TimeSource timeSource = TimeSource())
101 s << _name << " (" << std::setw(2) << _run << " of " << std::setw(2) << _max_runs << ") " << std::flush;
115 s << " " << std::setw(10) << std::setprecision(3) << _run_times.timings[_run-1].elapsed() << " sec" << std::endl;
186 void print_entry(std::ostream& s, std::string name, const BenchmarkEntry& entry, bool summary_only = false) const
const char * name()
iterator end()
#define DUNE_THROW(E, m)
For backward compatibility – Do not use this!
Definition benchmarkhelper.hh:21
double operator()() const
Definition benchmarkhelper.hh:23
Definition benchmarkhelper.hh:34
double operator()() const
Definition benchmarkhelper.hh:36
Definition benchmarkhelper.hh:52
Definition benchmarkhelper.hh:64
Definition benchmarkhelper.hh:74
BenchmarkHelper(std::string name, std::size_t max_runs=1, TimeSource timeSource=TimeSource())
Definition benchmarkhelper.hh:76
void start_run(std::ostream &s)
Definition benchmarkhelper.hh:97
void update_entry(BenchmarkEntry &entry)
Definition benchmarkhelper.hh:147
void end_run(std::ostream &s)
Definition benchmarkhelper.hh:111
void print_entry(std::ostream &s, std::string name, const BenchmarkEntry &entry, bool summary_only=false) const
Definition benchmarkhelper.hh:186
void end(std::string task, std::ostream &s)
Definition benchmarkhelper.hh:141
void start(std::string task, std::ostream &s)
Definition benchmarkhelper.hh:130
void update_statistics()
Definition benchmarkhelper.hh:170
void print(std::ostream &s, bool summary_only=false)
Definition benchmarkhelper.hh:206
T clock(T... args)
T endl(T... args)
T scientific(T... args)
T flush(T... args)
T left(T... args)
T max(T... args)
T min(T... args)
T setprecision(T... args)
T setw(T... args)
T sqrt(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8