#include <Teuchos_TimeMonitor.hpp>
Inheritance diagram for Teuchos::TimeMonitor:

Public Member Functions | |
Constructor/Destructor | |
| TimeMonitor (Time &timer, bool reset=false) | |
| Constructor starts timer. | |
| ~TimeMonitor () | |
| Destructor causes timer to stop. | |
Static Public Member Functions | |
Static functions | |
| Teuchos::RCP< Time > | getNewTimer (const std::string &name) |
| Wrapping of getNewCounter() for backwards compatibiity with old code. | |
| void | zeroOutTimers () |
| Reset the global timers to zero. | |
| void | summarize (std::ostream &out=std::cout, const bool alwaysWriteLocal=false, const bool writeGlobalStats=true, const bool writeZeroTimers=true) |
| Print summary statistics for a group of timers. | |
Termination upon destruction lets this timer behave correctly even if scope is exited because of an std::exception.
NOTE: It is critical that this class only be used to time functions that are called only within the main program and not at pre-program setup or post-program teardown!
|
||||||||||||
|
Constructor starts timer.
|
|
|
Destructor causes timer to stop.
|
|
|
Wrapping of getNewCounter() for backwards compatibiity with old code.
|
|
|
Reset the global timers to zero. Preconditions:
|
|
||||||||||||||||||||
|
Print summary statistics for a group of timers. Timings are gathered from all processors
|
1.3.9.1