22 using namespace std::chrono;
25 ElapsedTimeCounter::ElapsedTimeCounter()
27 creation_ = steady_clock::now();
30 size_t ElapsedTimeCounter::elapsed()
const
32 auto diff = steady_clock::now() - creation_;
33 return static_cast<size_t>(duration_cast<milliseconds>(diff).count());