libMesh
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
UnitPerfItem Class Reference

#include <libmesh_cppunit.h>

Public Member Functions

 UnitPerfItem (std::string label, std::string header, libMesh::PerfLog &my_perflog)
 
 ~UnitPerfItem ()
 

Private Attributes

const std::string _label
 
const std::string _header
 
libMesh::PerfLog_perflog
 

Detailed Description

Definition at line 72 of file libmesh_cppunit.h.

Constructor & Destructor Documentation

◆ UnitPerfItem()

UnitPerfItem::UnitPerfItem ( std::string  label,
std::string  header,
libMesh::PerfLog my_perflog 
)
inline

Definition at line 75 of file libmesh_cppunit.h.

77 :
78 _label(std::move(label)),
79 _header(std::move(header)),
80 _perflog(my_perflog)
81 {
83 }
const std::string _header
const std::string _label
libMesh::PerfLog & _perflog
void push(const char *label, const char *header="")
Push the event label onto the stack, pausing any active event.
Definition perf_log.C:147

References _header, _label, _perflog, and libMesh::PerfLog::push().

◆ ~UnitPerfItem()

UnitPerfItem::~UnitPerfItem ( )
inline

Definition at line 85 of file libmesh_cppunit.h.

86 {
88 }
void pop(const char *label, const char *header="")
Pop the event label off the stack, resuming any lower event.
Definition perf_log.C:185

References _header, _label, _perflog, and libMesh::PerfLog::pop().

Member Data Documentation

◆ _header

const std::string UnitPerfItem::_header
private

Definition at line 92 of file libmesh_cppunit.h.

Referenced by UnitPerfItem(), and ~UnitPerfItem().

◆ _label

const std::string UnitPerfItem::_label
private

Definition at line 91 of file libmesh_cppunit.h.

Referenced by UnitPerfItem(), and ~UnitPerfItem().

◆ _perflog

libMesh::PerfLog& UnitPerfItem::_perflog
private

Definition at line 93 of file libmesh_cppunit.h.

Referenced by UnitPerfItem(), and ~UnitPerfItem().


The documentation for this class was generated from the following file: