|
void | jau::clear_bit_uint32 (const uint8_t nr, uint32_t &mask) |
|
void | jau::clear_bit_uint64 (const uint8_t nr, uint64_t &mask) |
|
uint64_t | jau::getCurrentMilliseconds () noexcept |
| Returns current monotonic time in milliseconds. More...
|
|
fraction_timespec | jau::getMonotonicTime () noexcept |
| Returns current monotonic time since Unix Epoch 00:00:00 UTC on 1970-01-01 . More...
|
|
uint64_t | jau::getWallClockSeconds () noexcept |
| Returns current wall-clock system time of day in seconds since Unix Epoch 00:00:00 UTC on 1 January 1970 . More...
|
|
fraction_timespec | jau::getWallClockTime () noexcept |
| Returns current wall-clock real-time since Unix Epoch 00:00:00 UTC on 1970-01-01 . More...
|
|
uint128dp_t | jau::merge_uint128 (uint16_t const uuid16, uint128dp_t const &base_uuid, nsize_t const uuid16_le_octet_index) |
| Merge the given 'uuid16' into a 'base_uuid' copy at the given little endian 'uuid16_le_octet_index' position. More...
|
|
uint128dp_t | jau::merge_uint128 (uint32_t const uuid32, uint128dp_t const &base_uuid, nsize_t const uuid32_le_octet_index) |
| Merge the given 'uuid32' into a 'base_uuid' copy at the given little endian 'uuid32_le_octet_index' position. More...
|
|
bool | jau::milli_sleep (uint64_t td_ms, const bool ignore_irq=true) noexcept |
| millisecond sleep using high precision monotonic timer, useful for one-shot delays (only). More...
|
|
void | jau::set_bit_uint32 (const uint8_t nr, uint32_t &mask) |
|
void | jau::set_bit_uint64 (const uint8_t nr, uint64_t &mask) |
|
bool | jau::sleep (const fraction_timespec &relative_time, const bool ignore_irq=true) noexcept |
| sleep using high precision monotonic timer, useful for one-shot delays (only). More...
|
|
bool | jau::sleep_for (const fraction_i64 &relative_time, const bool monotonic=true, const bool ignore_irq=true) noexcept |
| sleep_for causes the current thread to block until a specific amount of time has passed. More...
|
|
bool | jau::sleep_for (const fraction_timespec &relative_time, const bool monotonic=true, const bool ignore_irq=true) noexcept |
| sleep_for causes the current thread to block until a specific amount of time has passed. More...
|
|
bool | jau::sleep_until (const fraction_timespec &absolute_time, const bool monotonic=true, const bool ignore_irq=true) noexcept |
| sleep_until causes the current thread to block until the specific time is reached. More...
|
|
uint32_t | jau::test_bit_uint32 (const uint8_t nr, const uint32_t mask) |
|
uint64_t | jau::test_bit_uint64 (const uint8_t nr, const uint64_t mask) |
|
std::cv_status | jau::wait_for (std::condition_variable &cv, std::unique_lock< std::mutex > &lock, const fraction_i64 &relative_time, const bool monotonic=true) noexcept |
| wait_for causes the current thread to block until the condition variable is notified, a specific amount of time has passed, or a spurious wakeup occurs. More...
|
|
std::cv_status | jau::wait_for (std::condition_variable &cv, std::unique_lock< std::mutex > &lock, const fraction_timespec &relative_time, const bool monotonic=true) noexcept |
| wait_for causes the current thread to block until the condition variable is notified, a specific amount of time has passed, or a spurious wakeup occurs. More...
|
|
std::cv_status | jau::wait_until (std::condition_variable &cv, std::unique_lock< std::mutex > &lock, const fraction_timespec &absolute_time, const bool monotonic=true) noexcept |
| wait_until causes the current thread to block until the condition variable is notified, a specific time is reached, or a spurious wakeup occurs. More...
|
|