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 () |
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 46 of file perf_log.h.
libMesh::PerfData::PerfData | ( | ) |
Constructor.
Initializes data to be empty.
Definition at line 53 of file perf_log.h.
double libMesh::PerfData::pause | ( | ) |
double libMesh::PerfData::pause_for | ( | PerfData & | other | ) |
Definition at line 434 of file perf_log.h.
References called_recursively, count, tot_time, tstart, and tstart_incl_sub.
void libMesh::PerfData::restart | ( | ) |
Definition at line 390 of file perf_log.h.
References tstart.
void libMesh::PerfData::start | ( | ) |
Definition at line 379 of file perf_log.h.
References called_recursively, count, tstart, and tstart_incl_sub.
Referenced by libMesh::PerfLog::fast_push().
|
protected |
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().
double libMesh::PerfData::stopit | ( | ) |
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 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 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 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().