#ifndef IPX_TIMER_H_ #define IPX_TIMER_H_ #include namespace ipx { class Timer { public: Timer(); double Elapsed() const; void Reset(); private: typedef std::chrono::time_point TimePoint; static TimePoint tic(); static double toc(TimePoint start); TimePoint t0_; }; } // namespace ipx #endif // IPX_TIMER_H_