From 986658ade90c2017e905fc0895f425631bf92c14 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Tue, 14 Dec 2021 12:33:10 +0300 Subject: [PATCH] clutter/frame-clock: Add ready profile trace To see in Sysprof whenever it happens. Part-of: --- clutter/clutter/clutter-frame-clock.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clutter/clutter/clutter-frame-clock.c b/clutter/clutter/clutter-frame-clock.c index 17bd90037..31f5bb125 100644 --- a/clutter/clutter/clutter-frame-clock.c +++ b/clutter/clutter/clutter-frame-clock.c @@ -328,6 +328,8 @@ clutter_frame_clock_notify_presented (ClutterFrameClock *frame_clock, void clutter_frame_clock_notify_ready (ClutterFrameClock *frame_clock) { + COGL_TRACE_BEGIN_SCOPED (ClutterFrameClockNotifyReady, "Frame Clock (ready)"); + switch (frame_clock->state) { case CLUTTER_FRAME_CLOCK_STATE_INIT: