#include <timer.h>
|  | 
| static long double | now () | 
|  | Get the current time in seconds since epoch.  More... 
 | 
|  | 
| static long double | nowMicroSec () | 
|  | Get the current time in micro-seconds since epoch.  More... 
 | 
|  | 
| static long double | nowMilliSec () | 
|  | Get the current time in milli-seconds since epoch.  More... 
 | 
|  | 
Definition at line 30 of file timer.h.
 
◆ Timer()
◆ ~Timer()
◆ getElapsedTime()
      
        
          | long double Timer::getElapsedTime | ( |  | ) | const | 
      
 
 
◆ getElapsedTimeInMicroSec()
      
        
          | long double Timer::getElapsedTimeInMicroSec | ( |  | ) | const | 
      
 
Get elasped time in micro-seconds. 
- Returns
- elapsed time in micro-seconds 
Definition at line 72 of file timer.cpp.
 
 
◆ getElapsedTimeInMilliSec()
      
        
          | long double Timer::getElapsedTimeInMilliSec | ( |  | ) | const | 
      
 
Get elasped time in milli-seconds. 
- Returns
- elapsed time in milli-seconds 
Definition at line 97 of file timer.cpp.
 
 
◆ getElapsedTimeInSec()
      
        
          | long double Timer::getElapsedTimeInSec | ( |  | ) | const | 
      
 
Get elasped time in seconds. 
- Returns
- elapsed time in seconds 
Definition at line 102 of file timer.cpp.
 
 
◆ now()
  
  | 
        
          | long double Timer::now | ( |  | ) |  |  | static | 
 
Get the current time in seconds since epoch. 
- Returns
- Epoch time in seconds 
Definition at line 141 of file timer.cpp.
 
 
◆ nowMicroSec()
  
  | 
        
          | long double Timer::nowMicroSec | ( |  | ) |  |  | static | 
 
Get the current time in micro-seconds since epoch. 
- Returns
- Epoch time in micro-seconds 
Definition at line 123 of file timer.cpp.
 
 
◆ nowMilliSec()
  
  | 
        
          | long double Timer::nowMilliSec | ( |  | ) |  |  | static | 
 
Get the current time in milli-seconds since epoch. 
- Returns
- Epoch time in milli-seconds 
Definition at line 136 of file timer.cpp.
 
 
◆ printLastElapsedTime()
◆ printLastElapsedTimeMSec()
◆ running()
  
  | 
        
          | bool tue::Timer::running | ( |  | ) | const |  | inline | 
 
Get running status of the timer. 
- Returns
- running or not running 
Definition at line 43 of file timer.h.
 
 
◆ start()
◆ stop()
◆ end_count_
  
  | 
        
          | timeval tue::Timer::end_count_ |  | private | 
 
End counter. 
Definition at line 121 of file timer.h.
 
 
◆ running_
  
  | 
        
          | bool tue::Timer::running_ |  | private | 
 
Running flag. 
Definition at line 95 of file timer.h.
 
 
◆ start_count_
  
  | 
        
          | timeval tue::Timer::start_count_ |  | private | 
 
Start counter. 
Definition at line 116 of file timer.h.
 
 
The documentation for this class was generated from the following files: