23 void start() { ini_time_ = std::chrono::high_resolution_clock::now(); }
25 end_time_ = std::chrono::high_resolution_clock::now();
26 duration_ = std::chrono::duration_cast<std::chrono::microseconds>(end_time_-ini_time_);
27 return double(duration_.count())*1e-3;
31 std::chrono::microseconds duration_;
32 std::chrono::high_resolution_clock::time_point ini_time_, end_time_;
Helper class to measure time required to run an optimization procedure.
Definition: Clock.hpp:18