[clutter] uprof: Add the units in the name of the "Per Frame" timer attribute



commit 25a7435a866385aa19a4417957d5b9cdc3bd69ac
Author: Damien Lespiau <damien lespiau intel com>
Date:   Mon Jul 11 02:03:57 2011 +0100

    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 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/clutter/clutter-profile.c b/clutter/clutter-profile.c
index f7a5c37..de11156 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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]