Feel++ 0.111.0-preview.14
Finite Element Embedded Library in C++
Feel::TimerTool Class Reference
+ Inheritance diagram for Feel::TimerTool:
+ Collaboration diagram for Feel::TimerTool:

Public Types

typedef boost::mpi::timer timer_type
 

Public Member Functions

double accumulateTime ()
 
void addDataValue (std::string const &key, double val)
 
double dataRegister (std::string const &key) const
 
double elapsed (std::string const &key, int id)
 
double elapsed (std::string const &key="")
 
bool isActive ()
 
int maxIdActiveTimer () const
 
void reset ()
 
void resize (int newsize)
 
void restart ()
 
void save ()
 
void setAdditionalParameter (std::string const &keyParam, boost::any const &d)
 
void setDataValue (std::string const &key, double val)
 
void setReinitSaveFile (bool b)
 
void setSaveFileMasterRank (bool b)
 
void setSaveFileMax (bool b)
 
void setSaveFileMean (bool b)
 
void setSaveFileMin (bool b)
 
void start ()
 
double stop (std::string const &key="")
 
 TimerTool (std::string fileName="timers.data", worldcomm_ptr_t const &worldComm=Environment::worldCommPtr())
 
 TimerTool (TimerTool const &e)=default
 
virtual double accumulateTime ()=0
 
virtual void addDataValue (std::string const &key, double val)=0
 
virtual double elapsed (std::string const &key="")=0
 
virtual bool isActive ()=0
 
virtual void restart ()=0
 
virtual void save ()=0
 
virtual void setAdditionalParameter (std::string const &keyParam, boost::any const &d)=0
 
virtual void setDataValue (std::string const &key, double val)=0
 
virtual void start ()=0
 
virtual double stop (std::string const &key="")=0
 

Member Function Documentation

◆ accumulateTime()

double Feel::TimerTool::accumulateTime ( )
virtual

Implements Feel::TimerToolBase.

◆ addDataValue()

void Feel::TimerTool::addDataValue ( std::string const &  key,
double  val 
)
virtual

Implements Feel::TimerToolBase.

◆ elapsed()

double Feel::TimerTool::elapsed ( std::string const &  key = "")
virtual

Implements Feel::TimerToolBase.

◆ isActive()

bool Feel::TimerTool::isActive ( )
virtual

Implements Feel::TimerToolBase.

◆ restart()

void Feel::TimerTool::restart ( )
virtual

Implements Feel::TimerToolBase.

◆ save()

void Feel::TimerTool::save ( )
virtual

Implements Feel::TimerToolBase.

◆ setAdditionalParameter()

void Feel::TimerTool::setAdditionalParameter ( std::string const &  keyParam,
boost::any const &  d 
)
virtual

Implements Feel::TimerToolBase.

◆ setDataValue()

void Feel::TimerTool::setDataValue ( std::string const &  key,
double  val 
)
virtual

Implements Feel::TimerToolBase.

◆ start()

void Feel::TimerTool::start ( )
virtual

Implements Feel::TimerToolBase.

◆ stop()

double Feel::TimerTool::stop ( std::string const &  key = "")
virtual

Implements Feel::TimerToolBase.