We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80c47e3 commit 80ca7d9Copy full SHA for 80ca7d9
highs/ipm/ipx/timer.h
@@ -16,6 +16,7 @@ class Timer {
16
typedef time_point<high_resolution_clock> TimePoint;
17
static TimePoint tic();
18
static double toc(TimePoint start);
19
+ static double read() { return duration_cast<duration<double>>(high_resolution_clock::now().time_since_epoch()).count(); }
20
TimePoint t0_;
21
public:
22
double offset_;
0 commit comments