Lines Matching refs:timing
66 AtomValue::AccumulatedTiming accumulatedTimingFrom(int64_t timing) { in accumulatedTimingFrom() argument
67 if (timing == kNoTimeReportedStatsd) { in accumulatedTimingFrom()
71 .sumTime = timing, in accumulatedTimingFrom()
72 .minTime = timing, in accumulatedTimingFrom()
73 .maxTime = timing, in accumulatedTimingFrom()
74 .sumSquaredTime = timing * timing, in accumulatedTimingFrom()
80 const AtomValue::AccumulatedTiming& timing) { in combineAccumulatedTiming() argument
81 if (timing.count == 0) { in combineAccumulatedTiming()
84 accumulatedTime->sumTime += timing.sumTime; in combineAccumulatedTiming()
85 accumulatedTime->minTime = std::min(accumulatedTime->minTime, timing.minTime); in combineAccumulatedTiming()
86 accumulatedTime->maxTime = std::max(accumulatedTime->maxTime, timing.maxTime); in combineAccumulatedTiming()
87 accumulatedTime->sumSquaredTime += timing.sumSquaredTime; in combineAccumulatedTiming()
88 accumulatedTime->count += timing.count; in combineAccumulatedTiming()