#include <Teuchos_TimeMonitor.hpp>
Collaboration diagram for Teuchos::TimeMonitor:
Public Member Functions | |
| TimeMonitor (Time &timer) | |
| Constructor starts timer. | |
| ~TimeMonitor () | |
| Destructor causes timer to stop. | |
Static Public Member Functions | |
| void | summarize () |
| Print summary statistics for a group of timers. Timings are gathered from all processors. | |
| RefCountPtr< Time > | getNewTimer (const string &name) |
| Create a new timer with the given name, and append it to the list of timers to be used. | |
Static Private Member Functions | |
| void | gatherTimings (const Array< double > &timings, Array< double > &minTime, Array< double > &avgTime, Array< double > &maxTime) |
| collect summary timings from all processors | |
Private Attributes | |
| Time & | timer_ |
| bool | isRoot_ |
Static Private Attributes | |
| Array< RefCountPtr< Time > > | timers_ |
Termination upon destruction lets this timer behave correctly even if scope is exited because of an exception.
Definition at line 58 of file Teuchos_TimeMonitor.hpp.
|
|
Constructor starts timer.
Definition at line 63 of file Teuchos_TimeMonitor.hpp. |
|
|
Destructor causes timer to stop.
Definition at line 70 of file Teuchos_TimeMonitor.hpp. |
|
|
Print summary statistics for a group of timers. Timings are gathered from all processors.
Definition at line 45 of file Teuchos_TimeMonitor.cpp. |
|
|
Create a new timer with the given name, and append it to the list of timers to be used.
Definition at line 37 of file Teuchos_TimeMonitor.cpp. |
|
||||||||||||||||||||
|
collect summary timings from all processors
Definition at line 87 of file Teuchos_TimeMonitor.cpp. |
|
|
Definition at line 84 of file Teuchos_TimeMonitor.hpp. |
|
|
Definition at line 85 of file Teuchos_TimeMonitor.hpp. |
|
|
Definition at line 35 of file Teuchos_TimeMonitor.cpp. |
1.3.9.1