Searched refs:ticks_ (Results 1 – 2 of 2) sorted by relevance
59 BOOST_CXX14_CONSTEXPR time_duration() : ticks_(0) {} in time_duration()64 ticks_(rep_type::to_tick_count(hours_in,minutes_in,seconds_in,frac_sec_in)) in time_duration()67 BOOST_CXX14_CONSTEXPR time_duration(special_values sv) : ticks_(impl_type::from_special(sv)) in time_duration()140 return duration_type(ticks_ * (-1)); in invert_sign()148 return duration_type(ticks_); in abs()152 return ticks_ < 0; in is_negative()156 return ticks_ == 0; in is_zero()160 return ticks_ > 0; in is_positive()164 return ticks_ < rhs.ticks_; in operator <()168 return ticks_ == rhs.ticks_; in operator ==()[all …]
41 TimeDelta ToEpochDelta() const { return TimeDelta::FromNanoseconds(ticks_); } in ToEpochDelta()45 return TimeDelta::FromNanoseconds(ticks_ - other.ticks_);49 return TimePoint(ticks_ + duration.ToNanoseconds());52 return TimePoint(ticks_ - duration.ToNanoseconds());55 bool operator==(TimePoint other) const { return ticks_ == other.ticks_; }56 bool operator!=(TimePoint other) const { return ticks_ != other.ticks_; }57 bool operator<(TimePoint other) const { return ticks_ < other.ticks_; }58 bool operator<=(TimePoint other) const { return ticks_ <= other.ticks_; }59 bool operator>(TimePoint other) const { return ticks_ > other.ticks_; }60 bool operator>=(TimePoint other) const { return ticks_ >= other.ticks_; }[all …]