auto create_clock() noexcept -> ice::SystemClock
void update(ice::SystemClock &clock) noexcept
auto elapsed(ice::Clock const &clock) noexcept -> ice::Tns
auto now() noexcept -> ice::Timestamp
void update_max_delta(ice::CustomClock &clock, ice::Tns max_delta) noexcept
auto clock_frequency() noexcept -> ice::ClockFrequency
void start(ice::Stopwatch &stopwatch) noexcept
auto elapsed_us(ice::Stopwatch const &stopwatch) noexcept -> ice::Tus
void stop(ice::Stopwatch &stopwatch) noexcept
auto create_stopwatch() noexcept -> ice::Stopwatch
auto elapsed(ice::Stopwatch const &stopwatch) noexcept -> ice::Tns
auto elapsed_us(ice::Timeline const &timeline) noexcept -> ice::Tus
void reset(ice::Timeline &timeline) noexcept
auto create_timeline(ice::Clock const &clock) noexcept -> ice::Timeline
auto elapsed(ice::Timeline const &timeline) noexcept -> ice::Tns
auto alpha(ice::Timer const &timer) noexcept -> ice::f32
bool update_by_step(ice::Timer &timer) noexcept
auto create_timer(ice::Clock const &clock, ice::Tns timer_step) noexcept -> ice::Timer
auto elapsed_us(ice::Timer const &timer) noexcept -> ice::Tus
SPDX-License-Identifier: MIT.
Definition array.hxx:12
float f32
Definition types.hxx:16
Represent the current systems clock frequency. Can be used to transform timestamps to time values.
Definition clock_types.hxx:92
Simple object representing a clock by using two timestamps.
Definition clock.hxx:17
ice::Timestamp _ts_latest
Definition clock.hxx:19
ice::Timestamp _ts_previous
Definition clock.hxx:18
A custom clock allows to control the "speed" of calculated time.
Definition clock.hxx:40
ice::f32 modifier
Definition clock.hxx:42
ice::Clock const * _clock_base
Definition clock.hxx:41
ice::Timestamp _ts_initial
Definition clock.hxx:62
ice::Clock const * clock
Definition clock.hxx:60
ice::Timestamp _ts_final
Definition clock.hxx:63
A system clock provides access to the actual time on the running system.
Definition clock.hxx:26
ice::Timestamp _ts_initial
Definition clock.hxx:55
ice::Clock const * _clock_base
Definition clock.hxx:54
ice::Timestamp _ts_latest
Definition clock.hxx:49
ice::Timestamp _timer_step
Definition clock.hxx:48
ice::Clock const * _clock_base
Definition clock.hxx:47
Represents platform native timestamp with undefined representation.
Definition clock_types.hxx:89
Represents time interval of nanoseconds.
Definition clock_types.hxx:73
Represents time interval of microseconds.
Definition clock_types.hxx:56