|
libMesh
|
The PerfData class simply contains the performance data that is recorded for individual events.
More...
#include <perf_log.h>
Public Member Functions | |
| PerfData () | |
| Constructor. More... | |
| void | start () |
| void | restart () |
| double | pause () |
| double | pause_for (PerfData &other) |
| double | stopit () |
| PerfData & | operator+= (const PerfData &other) |
Sums timing results from other. More... | |
Public Attributes | |
| double | tot_time |
| Total time spent in this event. More... | |
| double | tot_time_incl_sub |
| Total time spent in this event, including sub-events. More... | |
| struct timeval | tstart |
| Structure defining when the event was last started. More... | |
| struct timeval | tstart_incl_sub |
| Structure defining when the event was last started, including sub-events. More... | |
| unsigned int | count |
| The number of times this event has been executed. More... | |
| bool | open |
| Flag indicating if we are currently monitoring this event. More... | |
| int | called_recursively |
Protected Member Functions | |
| double | stop_or_pause (const bool do_stop) |
The PerfData class simply contains the performance data that is recorded for individual events.
Definition at line 53 of file perf_log.h.
|
inline |
Constructor.
Initializes data to be empty.
Definition at line 60 of file perf_log.h.
Sums timing results from other.
Definition at line 115 of file perf_log.h.
References count, libMesh::libmesh_assert(), open, tot_time, and tot_time_incl_sub.
|
inline |
Definition at line 426 of file perf_log.h.
|
inline |
Definition at line 462 of file perf_log.h.
References called_recursively, count, gettimeofday(), tstart, libMesh::PerfLog::tstart, tstart_incl_sub, timeval::tv_sec, and timeval::tv_usec.
|
inline |
Definition at line 418 of file perf_log.h.
References gettimeofday(), and libMesh::PerfLog::tstart.
|
inline |
Definition at line 407 of file perf_log.h.
References gettimeofday(), and libMesh::PerfLog::tstart.
Referenced by libMesh::PerfLog::fast_push().
|
inlineprotected |
Definition at line 433 of file perf_log.h.
References gettimeofday(), libMesh::PerfLog::tstart, timeval::tv_sec, and timeval::tv_usec.
|
inline |
Definition at line 480 of file perf_log.h.
| int libMesh::PerfData::called_recursively |
Definition at line 125 of file perf_log.h.
Referenced by pause_for().
| unsigned int libMesh::PerfData::count |
The number of times this event has been executed.
Definition at line 97 of file perf_log.h.
Referenced by libMesh::PerfLog::get_perf_info(), operator+=(), and pause_for().
| bool libMesh::PerfData::open |
Flag indicating if we are currently monitoring this event.
Should only be true while the event is executing.
Definition at line 104 of file perf_log.h.
Referenced by operator+=().
| double libMesh::PerfData::tot_time |
Total time spent in this event.
Definition at line 74 of file perf_log.h.
Referenced by libMesh::PerfLog::get_perf_info(), and operator+=().
| double libMesh::PerfData::tot_time_incl_sub |
Total time spent in this event, including sub-events.
Definition at line 79 of file perf_log.h.
Referenced by libMesh::PerfLog::get_perf_info(), and operator+=().
| struct timeval libMesh::PerfData::tstart |
Structure defining when the event was last started.
Definition at line 85 of file perf_log.h.
Referenced by pause_for().
| struct timeval libMesh::PerfData::tstart_incl_sub |
Structure defining when the event was last started, including sub-events.
Definition at line 91 of file perf_log.h.
Referenced by pause_for().
1.8.14