zpp
Zephyr C++20 Framework
|
Clock measuring elapsed time since the system booted. More...
#include <clock.hpp>
Public Types | |
using | rep = int64_t |
using | period = std::nano |
using | duration = std::chrono::duration< rep, period > |
using | time_point = std::chrono::time_point< uptime_clock > |
Static Public Member Functions | |
static time_point | now () noexcept |
Get current uptime. More... | |
Static Public Attributes | |
static constexpr bool | is_steady = false |
using zpp::uptime_clock::duration = std::chrono::duration<rep, period> |
using zpp::uptime_clock::period = std::nano |
using zpp::uptime_clock::rep = int64_t |
using zpp::uptime_clock::time_point = std::chrono::time_point<uptime_clock> |
|
inlinestaticnoexcept |
Get current uptime.
Definition at line 35 of file clock.hpp.
Referenced by ZTEST().
|
staticconstexpr |