···5757{
5858 int64_t frame_id;
59596060+ //! How long we thought the frame would take.
6161+ uint64_t predicted_frame_time_ns;
6262+6363+ //! When we predicted the app should wake up.
6464+ uint64_t predicted_wake_up_time_ns;
6565+6666+ //! When the client's GPU work should have completed.
6767+ uint64_t predicted_gpu_done_time_ns;
6868+6069 //! When we predicted this frame to be shown.
6170 uint64_t predicted_display_time_ns;
62716372 //! The selected display period.
6473 uint64_t predicted_display_period_ns;
6565-6666- //! When the client's GPU work should have completed.
6767- uint64_t predicted_gpu_done_time_ns;
68746975 /*!
7076 * When the app told us to display this frame, can be different
···328334329335 uint64_t period_ns = calc_period(pa);
330336 uint64_t predict_ns = predict_display_time(pa, now_ns, period_ns);
337337+ // How long we think the frame should take.
338338+ uint64_t frame_time_ns = total_app_time_ns(pa);
331339 // When should the client wake up.
332340 uint64_t wake_up_time_ns = predict_ns - total_app_and_compositor_time_ns(pa);
333341 // When the client's GPU work should have completed.
···346354347355 f->state = U_RT_PREDICTED;
348356 f->frame_id = frame_id;
357357+ f->predicted_frame_time_ns = frame_time_ns;
358358+ f->predicted_wake_up_time_ns = wake_up_time_ns;
349359 f->predicted_gpu_done_time_ns = gpu_done_time_ns;
350360 f->predicted_display_time_ns = predict_ns;
351361 f->predicted_display_period_ns = period_ns;