23     using period = std::ratio<1, 10000000>;
    24     using duration = std::chrono::duration<rep, period>;
    27     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
Source
Options for setting the source of all timestamps across MRPT: setActiveClock(), now() ...
static Source getActiveClock()
Returns the currently selected clock. 
static time_point now() noexcept
Returns the current time using the currently selected Clock source. 
Realtime: POSIX CLOCK_REALTIME. 
static void setActiveClock(const Source s)
Changes the selected clock to get time from when calling now(). 
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries. 
Monotonic: POSIX CLOCK_MONOTONIC. 
static uint64_t getMonotonicToRealtimeOffset()
Returns the number of nanoseconds that are added to the output of the POSIX CLOCK_MONOTONIC to make t...
static int64_t resetMonotonicToRealTimeEpoch() noexcept
Monotonic clock might drift over time with respect to Realtime. 
static constexpr bool is_steady
std::ratio< 1, 10000000 > period