|
idfxx 1.0.0
Modern C++23 components for ESP-IDF
|
Monotonic clock based on boot time. More...
Public Types | |
| using | rep = int64_t |
| using | period = std::micro |
| using | duration = std::chrono::microseconds |
| using | time_point = std::chrono::time_point< clock > |
Static Public Member Functions | |
| static time_point | now () noexcept |
| Returns the current time. | |
Static Public Attributes | |
| static constexpr bool | is_steady = true |
Monotonic clock based on boot time.
Provides a steady clock with microsecond precision that continues running during light sleep. Compatible with std::chrono.
| using idfxx::timer::clock::duration = std::chrono::microseconds |
| using idfxx::timer::clock::period = std::micro |
| using idfxx::timer::clock::time_point = std::chrono::time_point<clock> |
|
inlinestaticnoexcept |
Returns the current time.
Definition at line 61 of file timer.hpp.
Referenced by idfxx::timer::try_start_once().