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
This commit is contained in:
Damien Lespiau 2011-07-11 02:03:57 +01:00
parent fa336ab57f
commit 25a7435a86

View File

@ -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);