16 #ifndef IOX_UTILS_POSIX_WRAPPER_TIMESPEC_HPP
17 #define IOX_UTILS_POSIX_WRAPPER_TIMESPEC_HPP
27 constexpr
unsigned int TS_DIVIDER_sec = 1000000000;
28 constexpr
unsigned int TS_DIVIDER_msec = (TS_DIVIDER_sec / 1000);
34 struct timespec addTimeMs(struct timespec time, const uint32_t timeToAdd_ms);
40 double subtractTimespecMS(
const struct timespec minuend,
const struct timespec subtrahend);
building block to easily create free function for logging in a library context
Definition: lockfree_queue.hpp:28