![]() |
ATLAS Offline Software
|
#include <JetTrigTimer.h>
Public Member Functions | |
| JetTrigTimer (bool nanoseconds=false) | |
| void | start () |
| void | update () |
| std::string | read () const |
| std::tuple< double, int, std::string > | read_bare () const |
| void | reset () noexcept |
| std::string | readAndReset () |
| double | elapsed_to_now () |
| double | elapsed_to_update () |
| std::string | units () const |
Private Member Functions | |
| void | accumulate () |
Private Attributes | |
| std::size_t | m_nCalls {0} |
| std::chrono::system_clock::time_point | m_start |
| std::chrono::system_clock::time_point | m_stop |
| double | m_elapsedDelta {0.} |
| bool | m_nanoseconds |
Definition at line 13 of file JetTrigTimer.h.
| JetTrigTimer::JetTrigTimer | ( | bool | nanoseconds = false | ) |
Definition at line 13 of file JetTrigTimer.cxx.
|
private |
| double JetTrigTimer::elapsed_to_now | ( | ) |
Definition at line 74 of file JetTrigTimer.cxx.
| double JetTrigTimer::elapsed_to_update | ( | ) |
Definition at line 80 of file JetTrigTimer.cxx.
| std::string JetTrigTimer::read | ( | ) | const |
Definition at line 45 of file JetTrigTimer.cxx.
| std::tuple< double, int, std::string > JetTrigTimer::read_bare | ( | ) | const |
Definition at line 60 of file JetTrigTimer.cxx.
| std::string JetTrigTimer::readAndReset | ( | ) |
Definition at line 66 of file JetTrigTimer.cxx.
|
noexcept |
Definition at line 35 of file JetTrigTimer.cxx.
| void JetTrigTimer::start | ( | ) |
Definition at line 15 of file JetTrigTimer.cxx.
| std::string JetTrigTimer::units | ( | ) | const |
Definition at line 86 of file JetTrigTimer.cxx.
| void JetTrigTimer::update | ( | ) |
Definition at line 22 of file JetTrigTimer.cxx.
|
private |
Definition at line 32 of file JetTrigTimer.h.
|
private |
Definition at line 33 of file JetTrigTimer.h.
|
private |
Definition at line 28 of file JetTrigTimer.h.
|
private |
Definition at line 29 of file JetTrigTimer.h.
|
private |
Definition at line 30 of file JetTrigTimer.h.