TaskTracer: Difference between revisions

398 bytes added ,  20 November 2014
→‎How to add TaskTracer labels: Insert screenshots of AddLabel
(→‎How to add TaskTracer labels: Edit AddLabel section)
(→‎How to add TaskTracer labels: Insert screenshots of AddLabel)
Line 92: Line 92:


For example, <code> AddLabel("Function %d is called %d times.", name, count); </code>
For example, <code> AddLabel("Function %d is called %d times.", name, count); </code>
 
[[image:GeckoLabel.png|none|thumb|1000px|[[help:contents|Screenshot of labels displayed in Nephthys, each label represented as a red dot on the task. Message of label is shown at the bottom of task info on left.]]]]
===For Gaia developers===
===For Gaia developers===


Line 98: Line 98:


   console.log("#tt#"+console_log_format_string);
   console.log("#tt#"+console_log_format_string);
[[image:GaiaLabel.png|none|thumb|1000px|[[help:contents|Screenshot of labels add from javascript files.]]]]
In frank, <code>AddLabel()</code> functions like printf and console.log.


== How to read the profile using Nephthys ==
== How to read the profile using Nephthys ==
Confirmed users
220

edits