⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 timer.h

📁 The Spectral Toolkit is a C++ spectral transform library written by Rodney James and Chuck Panaccion
💻 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:

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -