Utility class to collect performance measurements and statistics.
More...
#include <bmtimer.h>
template<typename TOut = std::ostream>
class bm::chrono_taker< TOut >
Utility class to collect performance measurements and statistics.
- Examples
- inv_list.cpp, sample11.cpp, sample12.cpp, strsvsample02a.cpp, strsvsample07.cpp, strsvsample08.cpp, strsvsample09.cpp, svsample06.cpp, xsample01.cpp, xsample02.cpp, xsample03.cpp, xsample04.cpp, xsample04a.cpp, xsample05.cpp, xsample06.cpp, xsample07.cpp, xsample07a.cpp, and xsample09.cpp.
Definition at line 40 of file bmtimer.h.
◆ duration_map_type
template<typename TOut = std::ostream>
test name to duration map
- Examples
- inv_list.cpp, sample11.cpp, sample12.cpp, strsvsample09.cpp, svsample06.cpp, xsample01.cpp, xsample02.cpp, xsample03.cpp, xsample04.cpp, xsample04a.cpp, xsample05.cpp, xsample06.cpp, xsample07.cpp, xsample07a.cpp, and xsample09.cpp.
Definition at line 66 of file bmtimer.h.
◆ format
template<typename TOut = std::ostream>
| Enumerator |
|---|
| ct_time | |
| ct_ops_per_sec | |
| ct_all | |
Definition at line 57 of file bmtimer.h.
◆ chrono_taker() [1/2]
template<typename TOut = std::ostream>
◆ ~chrono_taker()
template<typename TOut = std::ostream>
◆ chrono_taker() [2/2]
template<typename TOut = std::ostream>
◆ add_repeats()
template<typename TOut = std::ostream>
◆ operator=()
template<typename TOut = std::ostream>
◆ print_duration()
template<typename TOut = std::ostream>
template<typename DT>
| void bm::chrono_taker< TOut >::print_duration |
( |
TOut & | tout, |
|
|
const std::string & | name, |
|
|
DT | ms ) |
|
inlinestatic |
◆ print_duration_map()
template<typename TOut = std::ostream>
- Examples
- inv_list.cpp, sample11.cpp, sample12.cpp, strsvsample09.cpp, svsample06.cpp, xsample01.cpp, xsample02.cpp, xsample03.cpp, xsample04.cpp, xsample04a.cpp, xsample05.cpp, xsample06.cpp, xsample07.cpp, xsample07a.cpp, and xsample09.cpp.
Definition at line 150 of file bmtimer.h.
References ct_all, ct_ops_per_sec, ct_time, print_duration(), and bm::chrono_taker< TOut >::statistics::repeats.
Referenced by main(), and main().
◆ stop()
template<typename TOut = std::ostream>
◆ dmap_
template<typename TOut = std::ostream>
◆ finish_
template<typename TOut = std::ostream>
| std::chrono::time_point<std::chrono::steady_clock> bm::chrono_taker< TOut >::finish_ |
|
protected |
◆ is_stopped_
template<typename TOut = std::ostream>
◆ name_
template<typename TOut = std::ostream>
◆ repeats_
template<typename TOut = std::ostream>
◆ start_
template<typename TOut = std::ostream>
| std::chrono::time_point<std::chrono::steady_clock> bm::chrono_taker< TOut >::start_ |
|
protected |
◆ tout_
template<typename TOut = std::ostream>
The documentation for this class was generated from the following file: