zx::basic_ticks

Summary

Constructors and Destructors

basic_ticks()
basic_ticks(zx_ticks_t value)

Public functions

get() const
constexpr zx_ticks_t
operator!=(basic_ticks< kClockId > other) const
constexpr bool
operator%(uint64_t divisor) const
constexpr basic_ticks< kClockId >
operator%(basic_ticks< kClockId > other) const
constexpr uint64_t
operator%=(uint64_t divisor)
constexpr basic_ticks< kClockId > &
operator*(uint64_t multiplier) const
constexpr basic_ticks< kClockId >
operator*=(uint64_t multiplier)
constexpr basic_ticks< kClockId > &
operator+(basic_ticks< kClockId > other) const
constexpr basic_ticks< kClockId >
operator+=(basic_ticks< kClockId > other)
constexpr basic_ticks< kClockId > &
operator-(basic_ticks< kClockId > other) const
constexpr basic_ticks< kClockId >
operator-=(basic_ticks< kClockId > other)
constexpr basic_ticks< kClockId > &
operator/(uint64_t divisor) const
constexpr basic_ticks< kClockId >
operator/(basic_ticks< kClockId > other) const
constexpr uint64_t
operator/=(uint64_t divisor)
constexpr basic_ticks< kClockId > &
operator<(basic_ticks< kClockId > other) const
constexpr bool
operator<=(basic_ticks< kClockId > other) const
constexpr bool
operator==(basic_ticks< kClockId > other) const
constexpr bool
operator>(basic_ticks< kClockId > other) const
constexpr bool
operator>=(basic_ticks< kClockId > other) const
constexpr bool

Public static functions

infinite()
constexpr basic_ticks< kClockId >
infinite_past()
constexpr basic_ticks< kClockId >
now()
basic_ticks< kClockId >

Public functions

basic_ticks

constexpr basic_ticks()=default

basic_ticks

constexpr basic_ticks(  zx_ticks_t value )

get

constexpr zx_ticks_t get() const 

operator!=

constexpr bool operator!=(  basic_ticks< kClockId > other ) const 

operator%

constexpr basic_ticks< kClockId > operator%(  uint64_t divisor ) const 

operator%

constexpr uint64_t operator%(  basic_ticks< kClockId > other ) const 

operator%=

constexpr basic_ticks< kClockId > & operator%=(  uint64_t divisor )

operator*

constexpr basic_ticks< kClockId > operator*(  uint64_t multiplier ) const 

operator*=

constexpr basic_ticks< kClockId > & operator*=(  uint64_t multiplier )

operator+

constexpr basic_ticks< kClockId > operator+(  basic_ticks< kClockId > other ) const 

operator+=

constexpr basic_ticks< kClockId > & operator+=(  basic_ticks< kClockId > other )

operator-

constexpr basic_ticks< kClockId > operator-(  basic_ticks< kClockId > other ) const 

operator-=

constexpr basic_ticks< kClockId > & operator-=(  basic_ticks< kClockId > other )

operator/

constexpr basic_ticks< kClockId > operator/(  uint64_t divisor ) const 

operator/

constexpr uint64_t operator/(  basic_ticks< kClockId > other ) const 

operator/=

constexpr basic_ticks< kClockId > & operator/=(  uint64_t divisor )

operator<

constexpr bool operator<(  basic_ticks< kClockId > other ) const 

operator<=

constexpr bool operator<=(  basic_ticks< kClockId > other ) const 

operator==

constexpr bool operator==(  basic_ticks< kClockId > other ) const 

operator>

constexpr bool operator>(  basic_ticks< kClockId > other ) const 

operator>=

constexpr bool operator>=(  basic_ticks< kClockId > other ) const 

Public static functions

infinite

constexpr basic_ticks< kClockId > infinite()

infinite_past

constexpr basic_ticks< kClockId > infinite_past()

now

basic_ticks< kClockId > now()