TickSpan class
A TickSpan represents a number of ticks.
Public static functions
- static auto makeFromNanoSeconds(s64 nsec) -> TickSpan
- static auto makeFromMicroSeconds(s64 usec) -> TickSpan
- static auto makeFromMilliSeconds(s64 msec) -> TickSpan
- static auto makeFromSeconds(s64 sec) -> TickSpan
Constructors, destructors, conversion operators
Public functions
- auto toS64() const -> s64
- auto toTicks() const -> s64
- auto toNanoSeconds() const -> s64
- auto toMicroSeconds() const -> s64
- auto toMilliSeconds() const -> s64
- auto toSeconds() const -> s64
- void setNanoSeconds(s64 nsec)
- void setMicroSeconds(s64 usec)
- void setMilliSeconds(s64 msec)
- void setSeconds(s64 sec)
- auto operator+=(TickSpan span) -> const TickSpan&
- auto operator-=(TickSpan span) -> const TickSpan&
- auto operator*=(f32 x) -> const TickSpan&
- auto operator/=(f32 x) -> const TickSpan&