8#include <RobotsIO/Utils/Clock.h>
13using namespace RobotsIO::Utils;
20double Clock::now()
const
22 auto current_time = std::chrono::steady_clock::now();
23 auto since_epoch = std::chrono::duration<double>(current_time.time_since_epoch());
24 return since_epoch.count();
28void Clock::delay(
const int& milliseconds)
const
30 std::this_thread::sleep_for(std::chrono::milliseconds(milliseconds));