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.java3107 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 window
3119 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);