#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!
Definition at line 110 of file Teuchos_TimeMonitor.hpp.
|
||||||||||||
|
Constructor starts timer.
Definition at line 118 of file Teuchos_TimeMonitor.hpp. |
|
|
Destructor causes timer to stop.
Definition at line 125 of file Teuchos_TimeMonitor.hpp. |
|
|
Wrapping of getNewCounter() for backwards compatibiity with old code.
Definition at line 138 of file Teuchos_TimeMonitor.hpp. |
|
|
Reset the global timers to zero. Preconditions:
Definition at line 40 of file Teuchos_TimeMonitor.cpp. |
|
||||||||||||||||||||
|
Print summary statistics for a group of timers. Timings are gathered from all processors
Definition at line 63 of file Teuchos_TimeMonitor.cpp. |
1.3.9.1