This class mimics the way "boost/timer/timer.hpp" operates while using the modern std::chrono library. Importantly, this class will only have an effect for C++11 and more.  
 More...
#include <coal/timings.h>
This class mimics the way "boost/timer/timer.hpp" operates while using the modern std::chrono library. Importantly, this class will only have an effect for C++11 and more. 
 
◆ Timer()
  
  
      
        
          | coal::Timer::Timer  | 
          ( | 
          const bool  | 
          start_on_construction = true | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Default constructor for the timer. 
- Parameters
 - 
  
    | [in] | start_on_construction | if true, the timer will be run just after the object is created  | 
  
   
 
 
◆ elapsed()
◆ is_stopped()
  
  
      
        
          | bool coal::Timer::is_stopped  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ resume()
  
  
      
        
          | void coal::Timer::resume  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ start()
  
  
      
        
          | void coal::Timer::start  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ stop()
  
  
      
        
          | void coal::Timer::stop  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ m_is_stopped
  
  
      
        
          | bool coal::Timer::m_is_stopped | 
         
       
   | 
  
protected   | 
  
 
 
◆ m_times
The documentation for this struct was generated from the following file: