proxsuite 0.6.7
The Advanced Proximal Optimization Toolbox
|
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 <proxsuite/proxqp/timings.hpp>
Public Member Functions | |
Timer () | |
CPUTimes | elapsed () const |
void | start () |
void | stop () |
void | resume () |
bool | is_stopped () const |
Protected Attributes | |
CPUTimes | m_times |
bool | m_is_stopped |
std::chrono::time_point< std::chrono::steady_clock > | m_start |
std::chrono::time_point< std::chrono::steady_clock > | m_end |
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.
Definition at line 35 of file timings.hpp.
|
inline |
Definition at line 37 of file timings.hpp.
|
inline |
Definition at line 43 of file timings.hpp.
|
inline |
Definition at line 60 of file timings.hpp.
|
inline |
Definition at line 69 of file timings.hpp.
|
inline |
Definition at line 83 of file timings.hpp.
|
inline |
Definition at line 89 of file timings.hpp.
|
protected |
Definition at line 92 of file timings.hpp.
|
protected |
Definition at line 93 of file timings.hpp.
|
protected |
Definition at line 95 of file timings.hpp.
|
protected |
Definition at line 95 of file timings.hpp.