Searched refs:diffMs (Results 1 – 3 of 3) sorted by relevance
171 const msInterval diffMs = static_cast<msInterval>( in logTsEntry() local179 mBufferPeriod.mMean = (mBufferPeriod.mMean < 0) ? diffMs : in logTsEntry()180 exponentialWeight * mBufferPeriod.mMean + (1.0 - exponentialWeight) * diffMs; in logTsEntry()192 const bool isOutlier = detectAndStoreOutlier(diffMs); in logTsEntry()301 bool PerformanceAnalysis::detectAndStoreOutlier(const msInterval diffMs) { in detectAndStoreOutlier() argument303 if (diffMs >= mBufferPeriod.mOutlier) { in detectAndStoreOutlier()316 mOutlierDistribution.mElapsed += diffMs; in detectAndStoreOutlier()
225 bool detectAndStoreOutlier(const msInterval diffMs);
3107 final long diffMs = Math.abs(elapsedNow - latestRunTimeElapsed);3112 Slog.i(TAG, "Periodic job ran after its intended window by " + diffMs + " ms");3114 long numSkippedWindows = (diffMs / period) + 1; // +1 to include original window3119 if (period != flex && (period - flex - (diffMs % period)) <= flex / 6) {3130 if (diffMs < PERIODIC_JOB_WINDOW_BUFFER && diffMs < period / 6) {3133 rescheduleBuffer = Math.min(PERIODIC_JOB_WINDOW_BUFFER, period / 6 - diffMs);