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:
parent
fa336ab57f
commit
25a7435a86
@ -204,9 +204,9 @@ _clutter_uprof_report_prepare (UProfReport *report,
|
|||||||
counter_per_frame_cb,
|
counter_per_frame_cb,
|
||||||
state);
|
state);
|
||||||
uprof_report_add_timers_attribute (clutter_uprof_report,
|
uprof_report_add_timers_attribute (clutter_uprof_report,
|
||||||
|
"Per Frame\nmsecs",
|
||||||
"Per Frame",
|
"Per Frame",
|
||||||
"Per Frame",
|
"The time spent in the timer per frame",
|
||||||
"The amount of timer per frame",
|
|
||||||
UPROF_ATTRIBUTE_TYPE_FLOAT,
|
UPROF_ATTRIBUTE_TYPE_FLOAT,
|
||||||
timer_per_frame_cb,
|
timer_per_frame_cb,
|
||||||
state);
|
state);
|
||||||
|
Loading…
Reference in New Issue
Block a user