/// \file timing.h /// Utilities for handling time and timestamps. #pragma once #include #include #include namespace Util { void wait(int64_t ms); ///< Sleeps for the indicated amount of milliseconds or longer. void sleep(int64_t ms); ///< Sleeps for roughly the indicated amount of milliseconds. uint64_t getMS(); ///< Gets the current time in milliseconds. uint64_t bootSecs(); ///< Gets the current system uptime in seconds. uint64_t bootMS(); ///< Gets the current system uptime in milliseconds. uint64_t getMicros();///