Searched refs:lastDurationUs (Results 1 – 2 of 2) sorted by relevance
327 int64_t lastDurationUs = 0; // Previous sample duration in run() local350 lastDurationUs = timestampUs - lastTimestampUs; in run()363 CHECK_GE(pausedDurationUs, lastDurationUs); in run()364 previousPausedDurationUs += pausedDurationUs - lastDurationUs; in run()392 lastDurationUs = timestampUs - lastTimestampUs; in run()396 mTrackDurationUs += lastDurationUs; in run()
2292 int64_t lastDurationUs = 0; // Between the previous two samples in threadEntry() local2437 if (WARN_UNLESS(pausedDurationUs >= lastDurationUs, "for %s track", trackName)) { in threadEntry()2442 previousPausedDurationUs += pausedDurationUs - lastDurationUs; in threadEntry()2581 lastDurationUs = timestampUs - lastTimestampUs; in threadEntry()2656 lastDurationUs = 0; // A single sample's duration in threadEntry()2679 mTrackDurationUs += lastDurationUs; in threadEntry()