Home
last modified time | relevance | path

Searched refs:diffMs (Results 1 – 4 of 4) 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/include/media/nblog/
DPerformanceAnalysis.h225 bool detectAndStoreOutlier(const msInterval diffMs);
/frameworks/av/media/libnblog/include/media/nblog/
DPerformanceAnalysis.h225 bool detectAndStoreOutlier(const msInterval diffMs);
/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerService.java1673 final long diffMs = Math.abs(elapsedNow - latestRunTimeElapsed); in getRescheduleJobForPeriodic() local
1680 long numSkippedWindows = (diffMs / period) + 1; // +1 to include original window in getRescheduleJobForPeriodic()
1681 if (period != flex && diffMs > Math.min(PERIODIC_JOB_WINDOW_BUFFER, in getRescheduleJobForPeriodic()
1693 if (diffMs < PERIODIC_JOB_WINDOW_BUFFER && diffMs < period / 6) { in getRescheduleJobForPeriodic()
1696 rescheduleBuffer = Math.min(PERIODIC_JOB_WINDOW_BUFFER, period / 6 - diffMs); in getRescheduleJobForPeriodic()