16 #include <Poco/Timestamp.h>
25 using Poco::Timestamp;
35 explicit HCETimer(
const std::string& s =
"Operation time: " ) : _prompt( s ), _start() {}
37 _stop = _start.elapsed();
43 inline static const double toSeconds(
const Timestamp::TimeDiff& microseconds ) {
return microseconds / 1000000.; }
44 inline const Poco::UInt64
elapsed() {
return _start.elapsed(); }
48 Timestamp::TimeDiff _stop;