This classes provides an easy way to obtain the current number of milliseconds that the program has been running.  
 More...
#include <Timer.h>
|  | 
|  | Timer () noexcept | 
|  | 
| std::size_t | passed () const noexcept | 
|  | Calculated the number of milliseconds since this object has been created.  More... 
 | 
|  | 
| void | reset () noexcept | 
|  | Reset the start point to now.  More... 
 | 
|  | 
|  | 
| using | clock = std::chrono::high_resolution_clock | 
|  | The clock type used jere.  More... 
 | 
|  | 
| using | duration = std::chrono::duration< std::size_t, std::milli > | 
|  | The duration type used here.  More... 
 | 
|  | 
This classes provides an easy way to obtain the current number of milliseconds that the program has been running. 
Definition at line 18 of file Timer.h.
◆ clock
The clock type used jere. 
Definition at line 20 of file Timer.h.
 
 
◆ duration
The duration type used here. 
Definition at line 22 of file Timer.h.
 
 
◆ Timer()
◆ passed()
  
  | 
        
          | std::size_t carl::Timer::passed | ( |  | ) | const |  | inlinenoexcept | 
 
Calculated the number of milliseconds since this object has been created. 
- Returns
- Milliseconds passed. 
Definition at line 32 of file Timer.h.
 
 
◆ reset()
  
  | 
        
          | void carl::Timer::reset | ( |  | ) |  |  | inlinenoexcept | 
 
Reset the start point to now. 
Definition at line 40 of file Timer.h.
 
 
◆ mStart
  
  | 
        
          | clock::time_point carl::Timer::mStart |  | private | 
 
Start of this timer. 
Definition at line 24 of file Timer.h.
 
 
The documentation for this class was generated from the following file: