17 if (
object_.IsPrint(msgLevel)) {
19 object_.GetOStream(msgLevel, 0) << msg << std::endl;
20 object_.getOStream()->pushTab();
50 :
Monitor(object, msg +
" (total, level=" +
Teuchos::Utils::
toString(levelID) +
")", 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_
Class that holds all level-specific information.
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.
const BaseClass & object_
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.
Namespace for MueLu classes and methods.
std::string toString(const T &what)
Little helper function to convert non-string types to strings.