Searched refs:lastDurationUs (Results 1 – 3 of 3) sorted by relevance
342 int64_t lastDurationUs = 0; // Previous sample duration in run() local364 lastDurationUs = timestampUs - lastTimestampUs; in run()377 CHECK_GE(pausedDurationUs, lastDurationUs); in run()378 previousPausedDurationUs += pausedDurationUs - lastDurationUs; in run()406 lastDurationUs = timestampUs - lastTimestampUs; in run()410 mTrackDurationUs += lastDurationUs; in run()
576 int64_t origDurationUs, lastDurationUs; in estimateDurationsFromTimesUsAtEnd() local583 || !meta->findInt64(kKeyLastDuration, &lastDurationUs) in estimateDurationsFromTimesUsAtEnd()585 && abs(durationUs - lastDurationUs) < 60000000)) { in estimateDurationsFromTimesUsAtEnd()
2941 int64_t lastDurationUs = 0; // Between the previous two samples in threadEntry() local3149 if (WARN_UNLESS(pausedDurationUs >= lastDurationUs, "for %s track", trackName)) { in threadEntry()3156 previousPausedDurationUs += pausedDurationUs - lastDurationUs; in threadEntry()3325 lastDurationUs = timestampUs - lastTimestampUs; in threadEntry()3416 lastDurationUs = 0; // A single sample's duration in threadEntry()3439 mTrackDurationUs += lastDurationUs; in threadEntry()