|
OPALX (Object Oriented Parallel Accelerator Library for Exascale) MINIorX
OPALX
|
#include <Timer.h>

Public Types | |
| using | timer_type = std::chrono::time_point< std::chrono::high_resolution_clock > |
| using | duration_type = std::chrono::duration< double > |
Public Member Functions | |
| Timer () | |
| void | clear () |
| void | start () |
| void | stop () |
| double | elapsed () |
Static Public Attributes | |
| static bool | enableFences = false |
Private Attributes | |
| double | elapsed_m |
| timer_type | start_m |
| timer_type | stop_m |
Definition at line 17 of file ippl/src/Utility/Timer.h.
| using Timer::duration_type = std::chrono::duration<double> |
Definition at line 20 of file ippl/src/Utility/Timer.h.
| using Timer::timer_type = std::chrono::time_point<std::chrono::high_resolution_clock> |
Definition at line 19 of file ippl/src/Utility/Timer.h.
| Timer::Timer | ( | ) |
Definition at line 13 of file ippl/src/Utility/Timer.cpp.
References clear().

| void Timer::clear | ( | ) |
Definition at line 17 of file ippl/src/Utility/Timer.cpp.
References elapsed_m.
Referenced by IpplTimerInfo::clear(), IpplTimerInfo::start(), and Timer().
| double Timer::elapsed | ( | ) |
Definition at line 36 of file ippl/src/Utility/Timer.cpp.
References elapsed_m.
Referenced by IpplTimerInfo::stop(), and stop().
| void Timer::start | ( | ) |
Definition at line 21 of file ippl/src/Utility/Timer.cpp.
References start_m.
Referenced by IpplTimerInfo::start().
| void Timer::stop | ( | ) |
Definition at line 25 of file ippl/src/Utility/Timer.cpp.
References elapsed(), elapsed_m, enableFences, ippl::fence(), start_m, and stop_m.
Referenced by IpplTimerInfo::clear(), IpplTimerInfo::start(), and IpplTimerInfo::stop().

|
private |
Definition at line 33 of file ippl/src/Utility/Timer.h.
|
static |
Definition at line 22 of file ippl/src/Utility/Timer.h.
Referenced by ippl::initialize(), and stop().
|
private |
Definition at line 34 of file ippl/src/Utility/Timer.h.
|
private |
Definition at line 34 of file ippl/src/Utility/Timer.h.
Referenced by stop().