|
Anasazi Version of the Day
|
Like Teuchos::TimeMonitor, but collects running stats. More...
#include <Tsqr_StatTimeMonitor.hpp>
Public Member Functions | |
| StatTimeMonitor (Teuchos::Time &timer, TimeStats &stats) | |
| Constructor. | |
| ~StatTimeMonitor () | |
| Destructor. | |
Like Teuchos::TimeMonitor, but collects running stats.
Like Teuchos::TimeMonitor, this class uses the RAII idiom to time a scope. However, it also maintains running statistics, via a reference to a TimeStats object.
Definition at line 22 of file Tsqr_StatTimeMonitor.hpp.
| TSQR::StatTimeMonitor::StatTimeMonitor | ( | Teuchos::Time & | timer, |
| TimeStats & | stats | ||
| ) |
Constructor.
| timer | [in/out] Reference to the raw timer object |
| stats | [in/out] Running statistics, to be updated when this StatTimeMonitor falls out of scope |
Definition at line 8 of file Tsqr_StatTimeMonitor.cpp.
| TSQR::StatTimeMonitor::~StatTimeMonitor | ( | ) |
Destructor.
Updates running statistics via the TimeStats object.
Definition at line 18 of file Tsqr_StatTimeMonitor.cpp.
1.7.4