47 using namespace std::chrono;
48 return duration<double>(system_clock::now() -
start_time_).count();
54 double start_time_ = std::numeric_limits<double>::quiet_NaN();
56 std::chrono::time_point<std::chrono::system_clock>
start_time_;
double elapsed() const
Get the elapsed time in seconds.
void start()
Start the timer.