|
|
dlinear
0.0.1
Delta-complete SMT solver for linear programming
|
Simple timer class to evaluate the performance of the software. More...
#include <Timer.h>
Public Member Functions | |
| TimerBase () | |
| Construct a new TimerBase object. | |
| void | Start () |
| Start the timer. | |
| void | Pause () |
| Pause the timer. | |
| void | Resume () |
| Resume the timer. | |
| bool | is_running () const |
| Check whether the timer is running. | |
| duration | elapsed () const |
| Get read-only access to the duration of elapsed time of the timer. | |
| std::chrono::duration< double >::rep | seconds () const |
| Get read-only access to the number elapsed seconds of the timer. | |
Protected Member Functions | |
| time_point | now () const |
| Get read-only access to the current instant of the timer. | |
Simple timer class to evaluate the performance of the software.
The timer can be started, paused, and resumed. The elapsed time is returned in seconds or as a duration.
|
nodiscard |
|
nodiscard |
|
inlinenodiscardprotected |
| void dlinear::TimerBase< T >::Pause | ( | ) |
| void dlinear::TimerBase< T >::Resume | ( | ) |
|
nodiscard |
| void dlinear::TimerBase< T >::Start | ( | ) |