![]() |
Belle II Software
release-08-02-04
|
Class to capture the time a repeated execution took. More...
#include <TimeIt.h>

Public Member Functions | |
| TimeItResult (const std::vector< std::chrono::duration< double > > &timeSpans) | |
| Constructor from a series of timings. | |
| double | getSeconds (size_t iExecution) const |
| Get the time of the individual executtions. | |
| double | getAverageSeconds () const |
| Get the average execution time. | |
| size_t | getNExecutions () const |
| Get number of executions. | |
| void | printSummary () const |
| Print a summary of the collected time to the console. | |
Private Attributes | |
| std::vector< std::chrono::duration< double > > | m_timeSpans |
| Memory for the time spans a repeated execution took. | |