https://mooseframework.inl.gov
Public Member Functions | Public Attributes | List of all members
PerfGraph::SectionIncrement Class Reference

Use to hold an increment of time and memory for a section This is used in the LivePrint capability. More...

#include <PerfGraph.h>

Public Member Functions

 SectionIncrement ()
 

Public Attributes

PerfID _id
 
IncrementState _state
 Whether or not this increment is the start of an increment or the finishing of an increment. More...
 
unsigned int _print_stack_level
 How much to indent this section. More...
 
unsigned int _num_dots
 How many dots have been printed for this section. More...
 
std::chrono::time_point< std::chrono::steady_clock > _time
 Either the starting time or final time depending on _state. More...
 
long int _memory
 Either the starting memory or final memory depending on _state. More...
 
unsigned long long int _beginning_num_printed
 The _console numPrinted() at the time this section was created. More...
 

Detailed Description

Use to hold an increment of time and memory for a section This is used in the LivePrint capability.

Definition at line 257 of file PerfGraph.h.

Constructor & Destructor Documentation

◆ SectionIncrement()

PerfGraph::SectionIncrement::SectionIncrement ( )
inline

Definition at line 260 of file PerfGraph.h.

261  : _state(IncrementState::FINISHED),
263  _num_dots(0),
264  _time(std::chrono::seconds(0)),
265  _memory(0),
267  {
268  }
long int _memory
Either the starting memory or final memory depending on _state.
Definition: PerfGraph.h:286
unsigned int _print_stack_level
How much to indent this section.
Definition: PerfGraph.h:277
IncrementState _state
Whether or not this increment is the start of an increment or the finishing of an increment...
Definition: PerfGraph.h:274
unsigned long long int _beginning_num_printed
The _console numPrinted() at the time this section was created.
Definition: PerfGraph.h:289
unsigned int _num_dots
How many dots have been printed for this section.
Definition: PerfGraph.h:280
std::chrono::time_point< std::chrono::steady_clock > _time
Either the starting time or final time depending on _state.
Definition: PerfGraph.h:283

Member Data Documentation

◆ _beginning_num_printed

unsigned long long int PerfGraph::SectionIncrement::_beginning_num_printed

The _console numPrinted() at the time this section was created.

Definition at line 289 of file PerfGraph.h.

Referenced by PerfGraphLivePrint::printLiveMessage(), and PerfGraphLivePrint::printStats().

◆ _id

PerfID PerfGraph::SectionIncrement::_id

◆ _memory

long int PerfGraph::SectionIncrement::_memory

Either the starting memory or final memory depending on _state.

Definition at line 286 of file PerfGraph.h.

Referenced by PerfGraphLivePrint::printStats().

◆ _num_dots

unsigned int PerfGraph::SectionIncrement::_num_dots

How many dots have been printed for this section.

Definition at line 280 of file PerfGraph.h.

Referenced by PerfGraphLivePrint::printLiveMessage(), and PerfGraphLivePrint::printStats().

◆ _print_stack_level

unsigned int PerfGraph::SectionIncrement::_print_stack_level

How much to indent this section.

Definition at line 277 of file PerfGraph.h.

Referenced by PerfGraphLivePrint::printLiveMessage(), and PerfGraphLivePrint::printStats().

◆ _state

IncrementState PerfGraph::SectionIncrement::_state

Whether or not this increment is the start of an increment or the finishing of an increment.

Definition at line 274 of file PerfGraph.h.

Referenced by PerfGraphLivePrint::printLiveMessage(), and PerfGraphLivePrint::printStats().

◆ _time

std::chrono::time_point<std::chrono::steady_clock> PerfGraph::SectionIncrement::_time

Either the starting time or final time depending on _state.

Definition at line 283 of file PerfGraph.h.

Referenced by PerfGraphLivePrint::printStats().


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