Lines Matching refs:first
133 timestamp startingTs = mRecentHists[0].first; in processAndFlushRecentHists()
139 if (deltaMs(startingTs, shortHist.first) >= kMaxHistTimespanMs) { in processAndFlushRecentHists()
142 startingTs = shortHist.first; in processAndFlushRecentHists()
152 buckets[countPair.first] += countPair.second; in processAndFlushRecentHists()
176 [](auto &a, auto &b){return a + b.first;}) / mOutlierData.size(); in detectPeaks()
185 mPeakDetectorMean = static_cast<double>(start->first); in detectPeaks()
192 if ((fabs(it->first - mPeakDetectorMean) < kStddevThreshold * mPeakDetectorSd) || in detectPeaks()
194 (mPeakDetectorSd == 0 && fabs(it->first - mPeakDetectorMean) < kTypicalDiff)) { in detectPeaks()
200 [](auto &a, auto &b){return a + b.first;}) / kN; in detectPeaks()
202 [=](auto &a, auto &b){ return a + sqr(b.first - mPeakDetectorMean);})) / in detectPeaks()
212 mPeakDetectorMean = static_cast<double>(it->first); in detectPeaks()
261 static_cast<long long>(outlier.first), static_cast<long long>(outlier.second)); in testFunction()
279 buckets[countPair.first] += countPair.second; in reportPerformance()
289 int maxDelta = it->first; in reportPerformance()
293 if (it->first > maxDelta) { in reportPerformance()
294 maxDelta = it->first; in reportPerformance()
335 body->appendFormat("%*d", colWidth, x.first); in reportPerformance()
342 body->appendFormat("%lld: %lld\n", static_cast<long long>(outlier.first), in reportPerformance()