clutter/frame-clock: Add ready profile trace

To see in Sysprof whenever it happens.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1928>
This commit is contained in:
Ivan Molodetskikh 2021-12-14 12:33:10 +03:00
parent e10084199b
commit 986658ade9

View File

@ -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: