XGC1
Public Types | Public Member Functions | Private Attributes | List of all members
PerfMonitor Class Reference

#include <perf_monitor.hpp>

Collaboration diagram for PerfMonitor:
Collaboration graph
[legend]

Public Types

enum  { INIT_ = 1 , MAIN_LOOP_ = 2 , RESTART_WRITE_ = 3 }
 

Public Member Functions

 PerfMonitor (NLReader::NamelistReader &nlr)
 
bool is_triggered (int step) const
 
void flush (int step)
 
void finish ()
 

Private Attributes

StepTrigger step_trigger
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
INIT_ 
MAIN_LOOP_ 
RESTART_WRITE_ 

Constructor & Destructor Documentation

◆ PerfMonitor()

PerfMonitor::PerfMonitor ( NLReader::NamelistReader nlr)
Here is the call graph for this function:

Member Function Documentation

◆ finish()

void PerfMonitor::finish ( )
Here is the call graph for this function:

◆ flush()

void PerfMonitor::flush ( int  step)
Here is the call graph for this function:

◆ is_triggered()

bool PerfMonitor::is_triggered ( int  step) const
Here is the call graph for this function:

Member Data Documentation

◆ step_trigger

StepTrigger PerfMonitor::step_trigger
private

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