/////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////// More...
Functions | |
void | start (const unsigned &i) |
(Re-)start i-th timer | |
void | halt (const unsigned &i) |
Halt i-th timer. | |
double | cumulative_time (const unsigned &i) |
Report time accumulated by i-th timer. | |
void | reset (const unsigned &i) |
Reset i-th timer. | |
void | reset () |
Reset all timers. | |
void | set_ntimers (const unsigned &ntimers) |
Set number of timings that can be recorded in parallel. | |
Variables | |
Vector< clock_t > | Timing |
Cumulative timings. | |
Vector< clock_t > | Start_time |
Start times of active timers. | |
/////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////
Namespace for global (cumulative) timings
Report time accumulated by i-th timer.
Definition at line 255 of file oomph_utilities.cc.
Halt i-th timer.
Definition at line 249 of file oomph_utilities.cc.
References i, Start_time, and Timing.
void oomph::CumulativeTimings::reset | ( | ) |
Set number of timings that can be recorded in parallel.
Definition at line 277 of file oomph_utilities.cc.
References Start_time, and Timing.
(Re-)start i-th timer
Definition at line 243 of file oomph_utilities.cc.
References i, and Start_time.
Start times of active timers.
Definition at line 287 of file oomph_utilities.cc.
Referenced by halt(), set_ntimers(), and start().
Cumulative timings.
Definition at line 284 of file oomph_utilities.cc.
Referenced by cumulative_time(), halt(), reset(), reset(), and set_ntimers().