Searched refs:diffMs (Results 1 – 5 of 5) 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()
102 long diffMs = in calculateRoutineWatchScore() local105 (diffMs < MAX_DIFF_MS_FOR_OLD_PROGRAM) in calculateRoutineWatchScore()107 - (double) Math.max(diffMs - DIFF_MS_TOLERANCE_FOR_OLD_PROGRAM, 0) in calculateRoutineWatchScore()
225 bool detectAndStoreOutlier(const msInterval diffMs);
1824 final long diffMs = Math.abs(elapsedNow - latestRunTimeElapsed);1831 long numSkippedWindows = (diffMs / period) + 1; // +1 to include original window1832 if (period != flex && diffMs > Math.min(PERIODIC_JOB_WINDOW_BUFFER,1844 if (diffMs < PERIODIC_JOB_WINDOW_BUFFER && diffMs < period / 6) {1847 rescheduleBuffer = Math.min(PERIODIC_JOB_WINDOW_BUFFER, period / 6 - diffMs);
1082 long diffMs = (d1.getElapsedTimestampNanos() - d0.getElapsedTimestampNanos()) / 1_000_000; in assertTimeDiffBetween() local1084 .that(diffMs).isIn(Range.closed((long) minDiffMs, (long) maxDiffMs)); in assertTimeDiffBetween()