|
IceShard 1
A personal game engine project, with development focused on 2D/2.5D games.
|
Represents time interval of nanoseconds. More...
#include <ice/clock_types.hxx>
Public Types | |
| using | TypeTag = ice::StrongNumeric |
| using | ValueType = ice::i64 |
Public Member Functions | |
| constexpr | operator Ts () const noexcept |
| constexpr | operator Tms () const noexcept |
| constexpr | operator Tus () const noexcept |
Public Attributes | |
| ValueType | value |
Static Public Attributes | |
| static constexpr ValueType | Constant_Precision = 1000'000'000 |
Represents time interval of nanoseconds.
Can be used when calculating time passing, not usable for sleeps or waits, since most systems don't provide wait resolutions at this scale.
| using ice::Tns::TypeTag = ice::StrongNumeric |
| using ice::Tns::ValueType = ice::i64 |
|
explicitconstexprnoexcept |
|
constexprnoexcept |
|
explicitconstexprnoexcept |
|
staticconstexpr |
| ValueType ice::Tns::value |