17 if (
object_.IsPrint(msgLevel)) {
19 object_.GetOStream(msgLevel, 0) << msg << std::endl;
20 object_.getOStream()->pushTab();
50 :
Monitor(object, msg, msgLevel, timerLevel)
53 if (Teuchos::TimeMonitor::getStackedTimer().is_null())
64 if (Teuchos::TimeMonitor::getStackedTimer().is_null())
73 :
SubMonitor(object, msg, msgLevel, timerLevel) {
Base class for MueLu classes.
virtual std::string ShortClassName() const
Return the class name of the object, without template parameters and without namespace.
virtual std::string description() const
Return a simple one-line description of this object.
FactoryMonitor(const BaseClass &object, const std::string &msg, int levelID, MsgType msgLevel=static_cast< MsgType >(Test|Runtime0), MsgType timerLevel=Timings0)
Constructor.
static int timerIdentifier_
RCP< TimeMonitor > levelTimeMonitor_
Total time spent on this level in this object and all its children.
RCP< MutuallyExclusiveTimeMonitor< Level > > levelTimeMonitorExclusive_
Total time spent on this level in this object only, excluding all children.
MutuallyExclusiveTimeMonitor< FactoryBase > timerMonitorExclusive_
Total time spent on all levels in this object only, excluding all children.
Class that holds all level-specific information.
int GetLevelID() const
Return level number.
TimeMonitor timerMonitor_
Records total time spent in this object and all its children, over all levels.
Monitor(const BaseClass &object, const std::string &msg, MsgType msgLevel=Runtime0, MsgType timerLevel=Timings0)
Constructor.
PrintMonitor printMonitor_
Manages printing.
Similar to TimeMonitor, but uses MutuallyExclusiveTime objects.
const BaseClass & object_
RCP< TimeMonitor > levelTimeMonitor_
Total time spent on this level in this object and all children.
SubFactoryMonitor(const BaseClass &object, const std::string &msg, int levelID, MsgType msgLevel=Runtime1, MsgType timerLevel=Timings1)
Constructor.
TimeMonitor timerMonitor_
PrintMonitor printMonitor_
SubMonitor(const BaseClass &object, const std::string &msg, MsgType msgLevel=Runtime1, MsgType timerLevel=Timings1)
Constructor.
Integrates Teuchos::TimeMonitor with MueLu verbosity system.
bool IsPrint(MsgType type, int thisProcRankOnly=-1) const
Find out whether we need to print out information for a specific message type.
Namespace for MueLu classes and methods.
@ TimingsByLevel
Record timing information level by level. Must be used in combinaison with Timings0/Timings1.