clutter/timeline: Add trace spans
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3417>
This commit is contained in:
parent
ce836e37e8
commit
72bbb1416e
1 changed files with 4 additions and 0 deletions
|
@ -986,6 +986,8 @@ emit_frame_signal (ClutterTimeline *timeline)
|
|||
{
|
||||
ClutterTimelinePrivate *priv = timeline->priv;
|
||||
|
||||
COGL_TRACE_BEGIN_SCOPED (Emit, "Clutter::Timeline::emit_frame_signal()");
|
||||
|
||||
/* see bug https://bugzilla.gnome.org/show_bug.cgi?id=654066 */
|
||||
gint elapsed = (gint) priv->elapsed_time;
|
||||
|
||||
|
@ -1683,6 +1685,8 @@ _clutter_timeline_do_tick (ClutterTimeline *timeline,
|
|||
{
|
||||
ClutterTimelinePrivate *priv;
|
||||
|
||||
COGL_TRACE_BEGIN_SCOPED (DoTick, "Clutter::Timeline::do_tick()");
|
||||
|
||||
priv = timeline->priv;
|
||||
|
||||
CLUTTER_NOTE (SCHEDULER,
|
||||
|
|
Loading…
Reference in a new issue