Home
last modified time | relevance | path

Searched refs:diffMs (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/libnblog/
DPerformanceAnalysis.cpp171 const msInterval diffMs = static_cast<msInterval>( in logTsEntry() local
179 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() argument
303 if (diffMs >= mBufferPeriod.mOutlier) { in detectAndStoreOutlier()
316 mOutlierDistribution.mElapsed += diffMs; in detectAndStoreOutlier()
/frameworks/av/media/libnblog/include/media/nblog/
DPerformanceAnalysis.h225 bool detectAndStoreOutlier(const msInterval diffMs);
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobSchedulerService.java1770 final long diffMs = Math.abs(elapsedNow - latestRunTimeElapsed);
1777 long numSkippedWindows = (diffMs / period) + 1; // +1 to include original window
1778 if (period != flex && diffMs > Math.min(PERIODIC_JOB_WINDOW_BUFFER,
1790 if (diffMs < PERIODIC_JOB_WINDOW_BUFFER && diffMs < period / 6) {
1793 rescheduleBuffer = Math.min(PERIODIC_JOB_WINDOW_BUFFER, period / 6 - diffMs);