mirror of
https://github.com/brl/mutter.git
synced 2025-04-04 01:23:45 +00:00
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
@ -986,6 +986,8 @@ emit_frame_signal (ClutterTimeline *timeline)
|
|||||||
{
|
{
|
||||||
ClutterTimelinePrivate *priv = timeline->priv;
|
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 */
|
/* see bug https://bugzilla.gnome.org/show_bug.cgi?id=654066 */
|
||||||
gint elapsed = (gint) priv->elapsed_time;
|
gint elapsed = (gint) priv->elapsed_time;
|
||||||
|
|
||||||
@ -1683,6 +1685,8 @@ _clutter_timeline_do_tick (ClutterTimeline *timeline,
|
|||||||
{
|
{
|
||||||
ClutterTimelinePrivate *priv;
|
ClutterTimelinePrivate *priv;
|
||||||
|
|
||||||
|
COGL_TRACE_BEGIN_SCOPED (DoTick, "Clutter::Timeline::do_tick()");
|
||||||
|
|
||||||
priv = timeline->priv;
|
priv = timeline->priv;
|
||||||
|
|
||||||
CLUTTER_NOTE (SCHEDULER,
|
CLUTTER_NOTE (SCHEDULER,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user