Searched refs:delta_ (Results 1 – 12 of 12) sorted by relevance
69 constexpr TimeDelta() : delta_(0) {} in TimeDelta()113 constexpr bool IsZero() const { return delta_ == 0; } in IsZero()117 return delta_ == std::numeric_limits<int64_t>::max(); in IsMax()120 return delta_ == std::numeric_limits<int64_t>::min(); in IsMin()149 return TimeDelta(delta_ + other.delta_);152 return TimeDelta(delta_ - other.delta_);156 delta_ += other.delta_;160 delta_ -= other.delta_;163 constexpr TimeDelta operator-() const { return TimeDelta(-delta_); }166 return static_cast<double>(delta_) / static_cast<double>(other.delta_); in TimesOf()[all …]
171 return static_cast<int>(delta_ / Time::kMicrosecondsPerDay); in InDays()179 return static_cast<int>(delta_ / Time::kMicrosecondsPerHour); in InHours()187 return static_cast<int>(delta_ / Time::kMicrosecondsPerMinute); in InMinutes()195 return static_cast<double>(delta_) / Time::kMicrosecondsPerSecond; in InSecondsF()203 return delta_ / Time::kMicrosecondsPerSecond; in InSeconds()211 return static_cast<double>(delta_) / Time::kMicrosecondsPerMillisecond; in InMillisecondsF()219 return delta_ / Time::kMicrosecondsPerMillisecond; in InMilliseconds()227 return (delta_ + Time::kMicrosecondsPerMillisecond - 1) / in InMillisecondsRoundedUp()236 return delta_; in InMicroseconds()244 return delta_ * Time::kNanosecondsPerMicrosecond; in InNanoseconds()[all …]
14 explicit TickDelta(uint64_t delta) : delta_(delta) {} in TickDelta()16 double InSecondsF() const { return delta_ / 1000000000.0; } in InSecondsF()17 double InMillisecondsF() const { return delta_ / 1000000.0; } in InMillisecondsF()18 double InMicrosecondsF() const { return delta_ / 1000.0; } in InMicrosecondsF()19 double InNanosecondsF() const { return delta_; } in InNanosecondsF()21 uint64_t InSeconds() const { return delta_ / 1000000000; } in InSeconds()22 uint64_t InMilliseconds() const { return delta_ / 1000000; } in InMilliseconds()23 uint64_t InMicroseconds() const { return delta_ / 1000; } in InMicroseconds()24 uint64_t InNanoseconds() const { return delta_; } in InNanoseconds()26 uint64_t raw() const { return delta_; } in raw()[all …]
50 delta_ += stats.delta_; in Accumulate()88 double ms = stats.delta_.InMillisecondsF(); in WriteLine()89 double percent = stats.delta_.PercentOf(total_stats.delta_); in WriteLine()
42 base::TimeDelta delta_; variable
15 : AstTraversalVisitor(stack_limit), delta_(delta) {} in AstFunctionLiteralIdReindexer()32 lit->set_function_literal_id(lit->function_literal_id() + delta_); in VisitFunctionLiteral()
36 int delta_;
38 diff->delta_ = timer_.Elapsed(); in End()
1009 delta_ ) \ argument1017 delta_ \
449 draw_helper_t &draw_helper_, point_t *delta_) in cff1_path_param_t()454 delta = delta_; in cff1_path_param_t()
252 shift_, delta_ ) \ argument260 delta_ \
32989 - draw_helper_t &draw_helper_, point_t *delta_)32990 + hb_draw_session_t &draw_session_, point_t *delta_)32996 delta = delta_;