31 return static_cast<size_t>(std::chrono::duration_cast<std::chrono::microseconds>
32 (std::chrono::system_clock::now().time_since_epoch()).count());
36 return static_cast<size_t>(std::chrono::duration_cast<std::chrono::milliseconds>
37 (std::chrono::system_clock::now().time_since_epoch()).count());
The main namespace of xerus.
size_t mTime()
: Returns the time since epoche in milliseconds.
size_t uTime()
: Returns the time since epoche in microseconds.
Header file for basic time measurement functionality.