|
MueLu Version of the Day
|
Similar to TimeMonitor, but uses MutuallyExclusiveTime objects. More...
#include <MueLu_TimeMonitor.hpp>
Public Member Functions | |
| MutuallyExclusiveTimeMonitor (const BaseClass &object, const std::string &msg, MsgType timerLevel=Timings0) | |
| Constructor. | |
| ~MutuallyExclusiveTimeMonitor () | |
| virtual | ~BaseClass () |
| Destructor. | |
| VerboseObject () | |
| virtual | ~VerboseObject () |
| Destructor. | |
| VerbLevel | GetVerbLevel () const |
| Get the verbosity level. | |
| void | SetVerbLevel (const VerbLevel verbLevel) |
| Set the verbosity level of this object. | |
| int | GetProcRankVerbose () const |
| Get proc rank used for printing. Do not use this information for any other purpose.. | |
| int | SetProcRankVerbose (int procRank) const |
| Set proc rank used for printing. | |
| bool | IsPrint (MsgType type, int thisProcRankOnly=-1) const |
| Find out whether we need to print out information for a specific message type. | |
| Teuchos::FancyOStream & | GetOStream (MsgType type, int thisProcRankOnly=0) const |
| Get an output stream for outputting the input message type. | |
| Teuchos::FancyOStream & | GetBlackHole () const |
| Public Member Functions inherited from MueLu::Describable | |
| virtual | ~Describable () |
| Destructor. | |
| virtual void | describe (Teuchos::FancyOStream &out_arg, const VerbLevel verbLevel=Default) const |
| virtual std::string | description () const |
| Return a simple one-line description of this object. | |
| void | describe (Teuchos::FancyOStream &out, const Teuchos::EVerbosityLevel verbLevel=Teuchos::Describable::verbLevel_default) const |
| Print the object with some verbosity level to an FancyOStream object. | |
| virtual std::string | ShortClassName () const |
| Return the class name of the object, without template parameters and without namespace. | |
Protected Member Functions | |
| MutuallyExclusiveTimeMonitor () | |
Private Attributes | |
| RCP< MutuallyExclusiveTime< TagName > > | timer_ |
Additional Inherited Members | |
| static void | SetDefaultVerbLevel (const VerbLevel defaultVerbLevel) |
| Set the default (global) verbosity level. | |
| static VerbLevel | GetDefaultVerbLevel () |
| Get the default (global) verbosity level. | |
| static void | SetMueLuOStream (const Teuchos::RCP< Teuchos::FancyOStream > &mueluOStream) |
| static void | SetMueLuOFileStream (const std::string &filename) |
| static Teuchos::RCP< Teuchos::FancyOStream > | GetMueLuOStream () |
Similar to TimeMonitor, but uses MutuallyExclusiveTime objects.
Definition at line 53 of file MueLu_TimeMonitor.hpp.
|
inline |
Constructor.
| [in] | object | Reference to the class instance that is creating this MutuallyExclusiveTimeMonitor. |
| [in] | msg | String that indicates what the Monitor is monitoring, e.g., "Build" |
| [in] | timerLevel | Governs whether timing information should be gathered. Setting this to NoTimeReport prevents the creation of timers. |
Definition at line 61 of file MueLu_TimeMonitor.hpp.
|
inline |
Definition at line 79 of file MueLu_TimeMonitor.hpp.
|
inlineprotected |
Definition at line 86 of file MueLu_TimeMonitor.hpp.
|
private |
Definition at line 89 of file MueLu_TimeMonitor.hpp.