From 25a7435a866385aa19a4417957d5b9cdc3bd69ac Mon Sep 17 00:00:00 2001 From: Damien Lespiau Date: Mon, 11 Jul 2011 02:03:57 +0100 Subject: [PATCH] uprof: Add the units in the name of the "Per Frame" timer attribute So it shows up in the profile report. Take the opportunity to write a better long description for the attribute. https://bugzilla.gnome.org/show_bug.cgi?id=654363 --- clutter/clutter-profile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clutter/clutter-profile.c b/clutter/clutter-profile.c index f7a5c37ef..de1115682 100644 --- a/clutter/clutter-profile.c +++ b/clutter/clutter-profile.c @@ -204,9 +204,9 @@ _clutter_uprof_report_prepare (UProfReport *report, counter_per_frame_cb, state); uprof_report_add_timers_attribute (clutter_uprof_report, + "Per Frame\nmsecs", "Per Frame", - "Per Frame", - "The amount of timer per frame", + "The time spent in the timer per frame", UPROF_ATTRIBUTE_TYPE_FLOAT, timer_per_frame_cb, state);