Lines Matching refs:FrameInfoIndex
43 FrameInfoIndex start;
44 FrameInfoIndex end;
48 Comparison{JankType::kMissedVsync, [](nsecs_t) { return 1; }, FrameInfoIndex::IntendedVsync, in __anond0ea453f0102()
49 FrameInfoIndex::Vsync}, in __anond0ea453f0102()
53 FrameInfoIndex::Vsync, FrameInfoIndex::SyncStart},
57 FrameInfoIndex::SyncStart, FrameInfoIndex::IssueDrawCommandsStart},
61 FrameInfoIndex::IssueDrawCommandsStart, FrameInfoIndex::FrameCompleted},
80 static FrameInfoIndex sFrameStart = FrameInfoIndex::IntendedVsync;
111 int64_t totalDuration = frame.duration(sFrameStart, FrameInfoIndex::FrameCompleted); in finishFrame()
112 if (mDequeueTimeForgiveness && frame[FrameInfoIndex::DequeueBufferDuration] > 500_us) { in finishFrame()
113 nsecs_t expectedDequeueDuration = mDequeueTimeForgiveness + frame[FrameInfoIndex::Vsync] - in finishFrame()
114 frame[FrameInfoIndex::IssueDrawCommandsStart]; in finishFrame()
119 std::min(expectedDequeueDuration, frame[FrameInfoIndex::DequeueBufferDuration]); in finishFrame()
133 if (CC_UNLIKELY(frame[FrameInfoIndex::Flags] & EXEMPT_FRAMES_FLAGS)) { in finishFrame()
142 …bool isTripleBuffered = (mSwapDeadline - frame[FrameInfoIndex::IntendedVsync]) > (mFrameInterval *… in finishFrame()
145 frame[FrameInfoIndex::IntendedVsync] + mFrameInterval); in finishFrame()
148 if (frame[FrameInfoIndex::FrameCompleted] < mSwapDeadline || totalDuration < mFrameInterval) { in finishFrame()
160 nsecs_t jitterNanos = frame[FrameInfoIndex::FrameCompleted] - frame[FrameInfoIndex::Vsync]; in finishFrame()
162 mSwapDeadline = frame[FrameInfoIndex::FrameCompleted] - lastFrameOffset + mFrameInterval; in finishFrame()
177 for (size_t i = 0; i < static_cast<size_t>(FrameInfoIndex::NumIndexes); i++) { in finishFrame()
201 if (sFrameStart != FrameInfoIndex::IntendedVsync) { in dumpData()
210 for (size_t i = 0; i < static_cast<size_t>(FrameInfoIndex::NumIndexes); i++) { in dumpFrames()
216 if (frame[FrameInfoIndex::SyncStart] == 0) { in dumpFrames()
220 for (int i = 0; i < static_cast<int>(FrameInfoIndex::NumIndexes); i++) { in dumpFrames()
231 sFrameStart = Properties::filterOutTestOverhead ? FrameInfoIndex::HandleInputStart in reset()
232 : FrameInfoIndex::IntendedVsync; in reset()