|
Anasazi Version of the Day
|
00001 #ifndef __TSQR_StatTimeMonitor_hpp 00002 #define __TSQR_StatTimeMonitor_hpp 00003 00004 #include <Teuchos_Time.hpp> 00005 #include <Tsqr_TimeStats.hpp> 00006 00009 00010 namespace TSQR { 00011 00022 class StatTimeMonitor { 00023 public: 00030 StatTimeMonitor (Teuchos::Time& timer, TimeStats& stats); 00031 00035 ~StatTimeMonitor (); 00036 00037 private: 00038 // Copying syntactically forbidden 00039 StatTimeMonitor (const StatTimeMonitor&); 00040 StatTimeMonitor& operator= (const StatTimeMonitor&); 00041 00042 Teuchos::Time& timer_; 00043 TimeStats& stats_; 00044 }; 00045 00046 } // namespace TSQR 00047 00048 #endif // __TSQR_StatTimeMonitor_hpp
1.7.4