#include <JetTrigTimer.h>
Definition at line 13 of file JetTrigTimer.h.
◆ JetTrigTimer()
JetTrigTimer::JetTrigTimer |
( |
bool |
nanoseconds = false | ) |
|
◆ accumulate()
void JetTrigTimer::accumulate |
( |
| ) |
|
|
private |
◆ elapsed_to_now()
double JetTrigTimer::elapsed_to_now |
( |
| ) |
|
◆ elapsed_to_update()
double JetTrigTimer::elapsed_to_update |
( |
| ) |
|
◆ read()
std::string JetTrigTimer::read |
( |
| ) |
const |
Definition at line 45 of file JetTrigTimer.cxx.
49 auto delta = std::get<0>(record);
50 auto ncalls = std::get<1>(record);
51 auto units = std::get<2>(record);
54 double avTime = ncalls == 0 ? 0. : delta /
m_nCalls;
55 ss <<
"time("<<
units <<
"): " << delta <<
" nCalls: " << ncalls <<
" tav: "
◆ read_bare()
std::tuple< double, int, std::string > JetTrigTimer::read_bare |
( |
| ) |
const |
◆ readAndReset()
std::string JetTrigTimer::readAndReset |
( |
| ) |
|
◆ reset()
void JetTrigTimer::reset |
( |
| ) |
|
|
noexcept |
◆ start()
void JetTrigTimer::start |
( |
| ) |
|
◆ units()
std::string JetTrigTimer::units |
( |
| ) |
const |
◆ update()
void JetTrigTimer::update |
( |
| ) |
|
◆ m_elapsedDelta
double JetTrigTimer::m_elapsedDelta {0.} |
|
private |
◆ m_nanoseconds
bool JetTrigTimer::m_nanoseconds |
|
private |
◆ m_nCalls
std::size_t JetTrigTimer::m_nCalls {0} |
|
private |
◆ m_start
std::chrono::system_clock::time_point JetTrigTimer::m_start |
|
private |
◆ m_stop
std::chrono::system_clock::time_point JetTrigTimer::m_stop |
|
private |
The documentation for this class was generated from the following files: