dune-pdelab
2.4-dev
|
#include <dune/pdelab/common/benchmarkhelper.hh>
Public Member Functions | |
BenchmarkHelper (std::string name, std::size_t max_runs=1, TimeSource timeSource=TimeSource()) | |
void | start_run () |
void | start_run (std::ostream &s) |
void | end_run () |
void | end_run (std::ostream &s) |
void | start (std::string task) |
void | start (std::string task, std::ostream &s) |
void | end (std::string task) |
void | end (std::string task, std::ostream &s) |
void | update_entry (BenchmarkEntry &entry) |
void | update_statistics () |
void | print_entry (std::ostream &s, std::string name, const BenchmarkEntry &entry, bool summary_only=false) const |
void | print (std::ostream &s, bool summary_only=false) |
|
inline |
References Dune::PDELab::BenchmarkEntry::timings.
|
inline |
Referenced by Dune::PDELab::BenchmarkHelper< TimeSource >::end(), Dune::PDELab::BenchmarkHelper< TimeSource >::print(), Dune::PDELab::BenchmarkHelper< TimeSource >::print_entry(), Dune::PDELab::BenchmarkHelper< TimeSource >::update_entry(), and Dune::PDELab::BenchmarkHelper< TimeSource >::update_statistics().
|
inline |
|
inline |
References Dune::PDELab::BenchmarkEntry::timings.
Referenced by Dune::PDELab::BenchmarkHelper< TimeSource >::end_run().
|
inline |
|
inline |
|
inline |
References Dune::PDELab::BenchmarkEntry::avg, Dune::PDELab::BenchmarkHelper< TimeSource >::end(), Dune::PDELab::BenchmarkEntry::max, Dune::PDELab::BenchmarkEntry::min, Dune::PDELab::BenchmarkEntry::std_dev, and Dune::PDELab::BenchmarkEntry::timings.
Referenced by Dune::PDELab::BenchmarkHelper< TimeSource >::print().
|
inline |
Referenced by Dune::PDELab::BenchmarkHelper< TimeSource >::start().
|
inline |
|
inline |
References Dune::PDELab::BenchmarkEntry::timings.
Referenced by Dune::PDELab::BenchmarkHelper< TimeSource >::start_run().
|
inline |
|
inline |
References Dune::PDELab::BenchmarkEntry::avg, Dune::PDELab::BenchmarkHelper< TimeSource >::end(), Dune::PDELab::BenchmarkEntry::max, Dune::PDELab::BenchmarkEntry::min, Dune::PDELab::BenchmarkEntry::std_dev, and Dune::PDELab::BenchmarkEntry::timings.
Referenced by Dune::PDELab::BenchmarkHelper< TimeSource >::update_statistics().
|
inline |