|
autogenu-jupyter
An automatic code generator and the continuation/GMRES (C/GMRES) based numerical solvers for nonlinear MPC
|
A timer for benchmarks. More...
#include <timer.hpp>
Public Member Functions | |
| Timer () | |
| Default constructor. More... | |
| ~Timer ()=default | |
| Default destructor. More... | |
| void | reset () |
| void | tick () |
| Start timer (tick). More... | |
| void | tock () |
| Stop the timer (tock). More... | |
| TimingProfile | getProfile () const |
| Get timing result as TimingProfile. More... | |
A timer for benchmarks.
|
inline |
Default constructor.
|
default |
Default destructor.
|
inline |
Get timing result as TimingProfile.
|
inline |
|
inline |
Start timer (tick).
|
inline |
Stop the timer (tock).