Searched refs:lastDurationUs (Results 1 – 3 of 3) sorted by relevance
343 int64_t lastDurationUs = 0; // Previous sample duration in run() local365 lastDurationUs = timestampUs - lastTimestampUs; in run()378 CHECK_GE(pausedDurationUs, lastDurationUs); in run()379 previousPausedDurationUs += pausedDurationUs - lastDurationUs; in run()407 lastDurationUs = timestampUs - lastTimestampUs; in run()411 mTrackDurationUs += lastDurationUs; in run()
575 int64_t origDurationUs, lastDurationUs; in estimateDurationsFromTimesUsAtEnd() local582 || !meta->findInt64(kKeyLastDuration, &lastDurationUs) in estimateDurationsFromTimesUsAtEnd()584 && abs(durationUs - lastDurationUs) < 60000000)) { in estimateDurationsFromTimesUsAtEnd()
3269 int64_t lastDurationUs = 0; // Between the previous two samples in threadEntry() local3516 if (WARN_UNLESS(pausedDurationUs >= lastDurationUs, "for %s track", trackName)) { in threadEntry()3523 previousPausedDurationUs += pausedDurationUs - lastDurationUs; in threadEntry()3694 lastDurationUs = timestampUs - lastTimestampUs; in threadEntry()3785 lastDurationUs = 0; // A single sample's duration in threadEntry()3807 mTrackDurationUs += lastDurationUs; in threadEntry()