?? timer.h
字號:
//// spectral toolkit // copyright (c) 2005 university corporation for atmospheric research// licensed under the gnu general public license//#ifndef __timer__#define __timer__namespace spectral{ /// Microsecond timer object. Provides a microsecond resolution stopwatch. class timer { public: /// Constructor for timer. timer(); /// Desctructor for timer. ~timer(); /// Start stopwatch method. void start(); /// Stop stopwatch method. void stop(); /// Report time method. /// \return accumulated time in microseconds double time(); /// Reset stopwatch method. void clear(); private: double T; double Total; double clock(); };}#endif// Local Variables:// mode:C++// End:
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -