|
zpp
Zephyr C++20 Framework
|
Clock representing the system’s hardware clock. More...
#include <clock.hpp>
Public Types | |
| using | rep = uint64_t |
| using | period = std::nano |
| using | duration = std::chrono::duration< rep, period > |
| using | time_point = std::chrono::time_point< cycle_clock > |
Static Public Member Functions | |
| static time_point | now () noexcept |
| Get current cycle count. More... | |
Static Public Attributes | |
| static constexpr bool | is_steady = false |
| using zpp::cycle_clock::duration = std::chrono::duration<rep, period> |
| using zpp::cycle_clock::period = std::nano |
| using zpp::cycle_clock::rep = uint64_t |
| using zpp::cycle_clock::time_point = std::chrono::time_point<cycle_clock> |
|
inlinestaticnoexcept |
Get current cycle count.
Definition at line 58 of file clock.hpp.
|
staticconstexpr |