1 #ifndef GUARD_GGEMS_TOOLS_GGEMSCHRONO_HH
2 #define GUARD_GGEMS_TOOLS_GGEMSCHRONO_HH
37 #include "GGEMS/global/GGEMSExport.hh"
39 typedef std::chrono::time_point<std::chrono::system_clock>
ChronoTime;
42 #if __MINGW64__ || __clang__ || (_MSC_VER > 1800) || __GNUC__
43 typedef std::chrono::milliseconds Ms;
44 typedef std::chrono::seconds Secs;
45 typedef std::chrono::minutes Mins;
46 typedef std::chrono::hours Hs;
74 inline DurationNano Zero(
void) {
return std::chrono::duration<int64_t,std::nano>::zero();}
77 #endif // End of GUARD_GGEMS_TOOLS_CHRONO_HH