|  | ATLAS Offline Software
    | 
Very simple timer class. More...
#include <Utils.h>
| Public Member Functions | |
| ScopeTimer (const std::string &descr="Timer") | |
| Create timer and start timing.  More... | |
| ~ScopeTimer () | |
| Stop timer (if still running)  More... | |
| void | stop () | 
| Stop timer manually.  More... | |
| Private Attributes | |
| std::string | m_descr | 
| description of timer  More... | |
| std::chrono::system_clock::time_point | m_t1 | 
| start time  More... | |
| bool | m_running | 
| timer running?  More... | |
Very simple timer class.
Time between constructor and destructor call is measured and printed
Definition at line 56 of file HLT/Trigger/TrigControl/TrigPSC/TrigPSC/Utils.h.
| psc::Utils::ScopeTimer::ScopeTimer | ( | const std::string & | descr = "Timer" | ) | 
Create timer and start timing.
Definition at line 66 of file HLT/Trigger/TrigControl/TrigPSC/src/Utils.cxx.
| 
 | inline | 
Stop timer (if still running)
Definition at line 66 of file HLT/Trigger/TrigControl/TrigPSC/TrigPSC/Utils.h.
| void psc::Utils::ScopeTimer::stop | ( | ) | 
Stop timer manually.
Definition at line 77 of file HLT/Trigger/TrigControl/TrigPSC/src/Utils.cxx.
| 
 | private | 
description of timer
Definition at line 74 of file HLT/Trigger/TrigControl/TrigPSC/TrigPSC/Utils.h.
| 
 | private | 
timer running?
Definition at line 76 of file HLT/Trigger/TrigControl/TrigPSC/TrigPSC/Utils.h.
| 
 | private | 
start time
Definition at line 75 of file HLT/Trigger/TrigControl/TrigPSC/TrigPSC/Utils.h.
 1.8.18
 1.8.18