24 using period = std::ratio<1, 10000000>;
25 using duration = std::chrono::duration<rep, period>;
28 static constexpr
bool is_steady = std::chrono::system_clock::is_steady;
static double toDouble(const time_point t) noexcept
Converts a timestamp to a UNIX time_t-like number, with fractional part.
Clock that is compatible with MRPT TTimeStamp representation.
std::chrono::duration< rep, period > duration
static time_point fromDouble(const double t) noexcept
Create a timestamp from its double representation.
std::chrono::time_point< Clock > time_point
static time_point now() noexcept
Returns the current time, with the highest resolution available.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
static constexpr bool is_steady
std::ratio< 1, 10000000 > period