The Timer class for profiling purpose. More...
#include <Timer.hpp>
Public Types | |
| using | Clock = std::chrono::system_clock |
| using | TimePoint = std::chrono::time_point<Clock> |
Public Member Functions | |
| Timer (const std::string &tag, int rank, TimePoint progStart) | |
| Simple Timer. | |
The Timer class for profiling purpose.
Simple Timer that measures time consumption btw constructor and destructor Reports at rank 0 at the console, for immediate convenience
|
inline |
Simple Timer.
| tag | item name to measure |
| rank | MPI rank |
| progStart | time point at program start |