Alsvinn  0.5.3
The fast FVM simulator with UQ support
Public Member Functions | List of all members
alsutils::timer::TimerData Class Reference

#include <alsutils/timer/TimerData.hpp>

Public Member Functions

 TimerData ()=default
 
template<class ... T>
TimerDatagetTimerData (const std::string &name, T... names)
 
TimerDatagetTimerData (const std::string &name)
 
void addTime (double time)
 
double getTotalTime () const
 
void print (const std::string &indent)
 
boost::property_tree::ptree getTimesAsPropertyTree (double programTotalTime) const
 

Constructor & Destructor Documentation

◆ TimerData()

alsutils::timer::TimerData::TimerData ( )
default

Member Function Documentation

◆ addTime()

void alsutils::timer::TimerData::addTime ( double  time)

◆ getTimerData() [1/2]

template<class ... T>
TimerData& alsutils::timer::TimerData::getTimerData ( const std::string &  name,
T...  names 
)
inline

◆ getTimerData() [2/2]

TimerData & alsutils::timer::TimerData::getTimerData ( const std::string &  name)

◆ getTimesAsPropertyTree()

boost::property_tree::ptree alsutils::timer::TimerData::getTimesAsPropertyTree ( double  programTotalTime) const

◆ getTotalTime()

double alsutils::timer::TimerData::getTotalTime ( ) const

◆ print()

void alsutils::timer::TimerData::print ( const std::string &  indent)

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