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 264 of file PerfGraph.h.

Constructor & Destructor Documentation

◆ SectionIncrement()

PerfGraph::SectionIncrement::SectionIncrement ( )
inline

Definition at line 267 of file PerfGraph.h.

268  : _state(IncrementState::FINISHED),
270  _num_dots(0),
271  _time(std::chrono::seconds(0)),
272  _memory(0),
274  {
275  }
long int _memory
Either the starting memory or final memory depending on _state.
Definition: PerfGraph.h:293
unsigned int _print_stack_level
How much to indent this section.
Definition: PerfGraph.h:284
IncrementState _state
Whether or not this increment is the start of an increment or the finishing of an increment...
Definition: PerfGraph.h:281
unsigned long long int _beginning_num_printed
The _console numPrinted() at the time this section was created.
Definition: PerfGraph.h:296
unsigned int _num_dots
How many dots have been printed for this section.
Definition: PerfGraph.h:287
std::chrono::time_point< std::chrono::steady_clock > _time
Either the starting time or final time depending on _state.
Definition: PerfGraph.h:290

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 296 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 293 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 287 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 284 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 281 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 290 of file PerfGraph.h.

Referenced by PerfGraphLivePrint::printStats().


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