Lines Matching refs:timings_
136 timings_.clear(); in Reset()
141 timings_.push_back(Timing(kind_, label)); in StartTiming()
146 timings_.push_back(Timing(kind_, nullptr)); in EndTiming()
151 if (timings_.size() < 2) { in GetTotalNs()
154 return timings_.back().GetTime() - timings_.front().GetTime(); in GetTotalNs()
158 DCHECK_LT(start_idx, timings_.size()); in FindTimingIndex()
159 for (size_t i = start_idx; i < timings_.size(); ++i) { in FindTimingIndex()
160 if (timings_[i].IsStartTiming() && strcmp(timings_[i].GetName(), name) == 0) { in FindTimingIndex()
169 ret.data_.resize(timings_.size()); in CalculateTimingData()
171 for (size_t i = 0; i < timings_.size(); ++i) { in CalculateTimingData()
172 if (timings_[i].IsEndTiming()) { in CalculateTimingData()
175 uint64_t time = timings_[i].GetTime() - timings_[open_idx].GetTime(); in CalculateTimingData()
192 << timings_[open_stack.back()].GetName() << " at index " << open_stack.back(); in CalculateTimingData()
200 for (size_t i = 0; i < timings_.size(); ++i) { in Dump()
210 for (size_t i = 0; i < timings_.size(); ++i) { in Dump()
211 if (timings_[i].IsStartTiming()) { in Dump()
227 os << " " << timings_[i].GetName() << "\n"; in Dump()
238 for (size_t i = 0; i < timings_.size(); ++i) { in Verify()
240 CHECK_LE(timings_[i - 1].GetTime(), timings_[i].GetTime()); in Verify()
242 ++counts[timings_[i].IsStartTiming() ? 0 : 1]; in Verify()