Data object managed by PerfLog. More...
#include <perf_log.h>
Public Member Functions | |
PerfData () | |
void | start () |
void | restart () |
double | pause () |
double | pause_for (PerfData &other) |
double | stopit () |
Public Attributes | |
double | tot_time |
double | tot_time_incl_sub |
struct timeval | tstart |
struct timeval | tstart_incl_sub |
unsigned int | count |
bool | open |
int | called_recursively |
Protected Member Functions | |
double | stop_or_pause (const bool do_stop) |
Data object managed by PerfLog.
The PerfData
class simply contains the performance data that is recorded for individual events.
Definition at line 46 of file perf_log.h.
|
inline |
|
inline |
|
inline |
Definition at line 434 of file perf_log.h.
References called_recursively, count, tot_time, tstart, and tstart_incl_sub.
|
inline |
|
inline |
Definition at line 379 of file perf_log.h.
References called_recursively, count, tstart, and tstart_incl_sub.
Referenced by libMesh::PerfLog::fast_push().
|
inlineprotected |
Definition at line 405 of file perf_log.h.
References tot_time, tot_time_incl_sub, tstart, and tstart_incl_sub.
Referenced by pause(), and stopit().
|
inline |
int libMesh::PerfData::called_recursively |
Definition at line 105 of file perf_log.h.
Referenced by pause_for(), start(), and stopit().
unsigned int libMesh::PerfData::count |
The number of times this event has been executed
Definition at line 90 of file perf_log.h.
Referenced by libMesh::PerfLog::get_perf_info(), pause_for(), and start().
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 97 of file perf_log.h.
double libMesh::PerfData::tot_time |
Total time spent in this event.
Definition at line 67 of file perf_log.h.
Referenced by libMesh::PerfLog::get_perf_info(), pause_for(), and stop_or_pause().
double libMesh::PerfData::tot_time_incl_sub |
Total time spent in this event, including sub-events.
Definition at line 72 of file perf_log.h.
Referenced by libMesh::PerfLog::get_perf_info(), and stop_or_pause().
struct timeval libMesh::PerfData::tstart |
Structure defining when the event was last started.
Definition at line 78 of file perf_log.h.
Referenced by pause_for(), restart(), start(), and stop_or_pause().
struct timeval libMesh::PerfData::tstart_incl_sub |
Structure defining when the event was last started, including sub-events.
Definition at line 84 of file perf_log.h.
Referenced by pause_for(), start(), and stop_or_pause().