Lines Matching refs:totalDuration
104 int64_t totalDuration = frame.duration(sFrameStart, FrameInfoIndex::SwapBuffersCompleted); in calculateLegacyJank() local
114 if (forgiveAmount >= totalDuration) { in calculateLegacyJank()
117 forgiveAmount, totalDuration); in calculateLegacyJank()
120 totalDuration -= forgiveAmount; in calculateLegacyJank()
124 if (totalDuration <= 0) { in calculateLegacyJank()
126 totalDuration, frame[FrameInfoIndex::IntendedVsync], in calculateLegacyJank()
136 if (totalDuration > mFrameIntervalLegacy) { in calculateLegacyJank()
152 || totalDuration < mFrameIntervalLegacy) { in calculateLegacyJank()
177 int64_t totalDuration = frame.duration(FrameInfoIndex::IntendedVsync, in finishFrame() local
180 if (totalDuration <= 0) { in finishFrame()
181 ALOGV("Impossible totalDuration %" PRId64, totalDuration); in finishFrame()
184 mData->reportFrame(totalDuration); in finishFrame()
185 (*mGlobalData)->reportFrame(totalDuration); in finishFrame()
244 if (totalDuration >= 700_ms) { in finishFrame()
247 ss << "Davey! duration=" << ns2ms(totalDuration) << "ms; "; in finishFrame()