[mutter] clutter/frame-clock: Add ready profile trace
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] clutter/frame-clock: Add ready profile trace
- Date: Fri, 4 Mar 2022 07:49:07 +0000 (UTC)
commit 986658ade90c2017e905fc0895f425631bf92c14
Author: Ivan Molodetskikh <yalterz gmail com>
Date: Tue Dec 14 12:33:10 2021 +0300
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>
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 17bd900370..31f5bb1257 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:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]