TickClock is a std::chrono clock, equivalent of std::chrono::steady_clock.
More...
#include "distortos/TickClock.hpp"
|
using | rep = int64_t |
| type of tick counter More...
|
|
using | period = std::ratio< 1, DISTORTOS_TICK_FREQUENCY > |
| std::ratio type representing the tick period of the clock, seconds More...
|
|
using | duration = std::chrono::duration< rep, period > |
| basic duration type of clock More...
|
|
using | time_point = std::chrono::time_point< TickClock > |
| basic time_point type of clock More...
|
|
|
static constexpr bool | is_steady {true} |
| this is a steady clock - it cannot be adjusted More...
|
|
TickClock is a std::chrono clock, equivalent of std::chrono::steady_clock.
◆ duration
basic duration type of clock
◆ period
std::ratio type representing the tick period of the clock, seconds
◆ rep
◆ time_point
basic time_point type of clock
◆ now()
- Returns
- time_point representing the current value of the clock
◆ is_steady
constexpr bool distortos::TickClock::is_steady {true} |
|
static |
this is a steady clock - it cannot be adjusted
The documentation for this class was generated from the following files: