| OLD | NEW |
| (Empty) |
| 1 | |
| 2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> | |
| 3 <html><head><title>Python: module telemetry.timeline.tracing_options</title> | |
| 4 <meta charset="utf-8"> | |
| 5 </head><body bgcolor="#f0f0f8"> | |
| 6 | |
| 7 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> | |
| 8 <tr bgcolor="#7799ee"> | |
| 9 <td valign=bottom> <br> | |
| 10 <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a hre
f="telemetry.html"><font color="#ffffff">telemetry</font></a>.<a href="telemetry
.timeline.html"><font color="#ffffff">timeline</font></a>.tracing_options</stron
g></big></big></font></td | |
| 11 ><td align=right valign=bottom | |
| 12 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href=
"../telemetry/timeline/tracing_options.py">telemetry/timeline/tracing_options.py
</a></font></td></tr></table> | |
| 13 <p><tt># Copyright 2014 The Chromium Authors.
All rights reserved.<br> | |
| 14 # Use of this source code is governed by
a BSD-style license that can be<br> | |
| 15 # found in the LICENSE file.</tt></p> | |
| 16 <p> | |
| 17 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | |
| 18 <tr bgcolor="#ee77aa"> | |
| 19 <td colspan=3 valign=bottom> <br> | |
| 20 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big
></font></td></tr> | |
| 21 | |
| 22 <tr><td bgcolor="#ee77aa"><tt> </tt></td><td>
</td> | |
| 23 <td width="100%"><dl> | |
| 24 <dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.
object</a> | |
| 25 </font></dt><dd> | |
| 26 <dl> | |
| 27 <dt><font face="helvetica, arial"><a href="telemetry.timeline.tracing_options.ht
ml#TracingOptions">TracingOptions</a> | |
| 28 </font></dt></dl> | |
| 29 </dd> | |
| 30 </dl> | |
| 31 <p> | |
| 32 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | |
| 33 <tr bgcolor="#ffc8d8"> | |
| 34 <td colspan=3 valign=bottom> <br> | |
| 35 <font color="#000000" face="helvetica, arial"><a name="TracingOptions">class <st
rong>TracingOptions</strong></a>(<a href="__builtin__.html#object">__builtin__.o
bject</a>)</font></td></tr> | |
| 36 | |
| 37 <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> | |
| 38 <td colspan=2><tt>Tracing options control which core tr
acing systems should be enabled.<br> | |
| 39 <br> | |
| 40 This simply turns on those systems. If those&
nbsp;systems have additional options,<br> | |
| 41 e.g. what to trace, then they are typically&n
bsp;configured by adding<br> | |
| 42 categories to the TracingCategoryFilter.<br> | |
| 43 <br> | |
| 44 Options:<br> | |
| 45 enable_chrome_trace: a boolean that
specifies whether to enable<br> | |
| 46 chrome tracing.<br> | |
| 47 enable_platform_display_trace: a boolean
that specifies whether to<br> | |
| 48 platform display traci
ng.<br> | |
| 49 enable_android_graphics_memtrack: a boolean&nb
sp;that specifies whether<br> | |
| 50 to enable the mem
track_helper daemon to track graphics memory on<br
> | |
| 51 Android (see goo.gl/4Y
30p9). Doesn't have any effects on other OSs.
<br> | |
| 52 <br> | |
| 53 The following ones are specific 
;to chrome tracing. See<br> | |
| 54 base/trace_event/trace_config.h for more
information.<br> | |
| 55 record_mode: can be&nb
sp;any mode in RECORD_MODES. This corresponds to<b
r> | |
| 56 &n
bsp; record modes in chr
ome.<br> | |
| 57 enable_systrace: a boo
lean that specifies whether to enable systrace.<br
> </tt></td></tr> | |
| 58 <tr><td> </td> | |
| 59 <td width="100%">Methods defined here:<br> | |
| 60 <dl><dt><a name="TracingOptions-GetDictForChromeTracing"><strong>GetDictForChrom
eTracing</strong></a>(self)</dt></dl> | |
| 61 | |
| 62 <dl><dt><a name="TracingOptions-GetTraceOptionsStringForChromeDevtool"><strong>G
etTraceOptionsStringForChromeDevtool</strong></a>(self)</dt><dd><tt>Map Chr
ome tracing options in Telemetry to the DevTo
ols API string.</tt></dd></dl> | |
| 63 | |
| 64 <dl><dt><a name="TracingOptions-__init__"><strong>__init__</strong></a>(self)</d
t></dl> | |
| 65 | |
| 66 <hr> | |
| 67 Data descriptors defined here:<br> | |
| 68 <dl><dt><strong>__dict__</strong></dt> | |
| 69 <dd><tt>dictionary for instance variables (if defined)<
/tt></dd> | |
| 70 </dl> | |
| 71 <dl><dt><strong>__weakref__</strong></dt> | |
| 72 <dd><tt>list of weak references to the object 
;(if defined)</tt></dd> | |
| 73 </dl> | |
| 74 <dl><dt><strong>enable_systrace</strong></dt> | |
| 75 </dl> | |
| 76 <dl><dt><strong>record_mode</strong></dt> | |
| 77 </dl> | |
| 78 </td></tr></table></td></tr></table><p> | |
| 79 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | |
| 80 <tr bgcolor="#55aa55"> | |
| 81 <td colspan=3 valign=bottom> <br> | |
| 82 <font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></
font></td></tr> | |
| 83 | |
| 84 <tr><td bgcolor="#55aa55"><tt> </tt></td><td>
</td> | |
| 85 <td width="100%"><strong>ECHO_TO_CONSOLE</strong> = 'trace-to-console'<br> | |
| 86 <strong>ENABLE_SYSTRACE</strong> = 'enable-systrace'<br> | |
| 87 <strong>RECORD_AS_MUCH_AS_POSSIBLE</strong> = 'record-as-much-as-possible'<br> | |
| 88 <strong>RECORD_CONTINUOUSLY</strong> = 'record-continuously'<br> | |
| 89 <strong>RECORD_MODES</strong> = ['record-until-full', 'record-continuously', 're
cord-as-much-as-possible', 'trace-to-console']<br> | |
| 90 <strong>RECORD_UNTIL_FULL</strong> = 'record-until-full'</td></tr></table> | |
| 91 </body></html> | |
| OLD | NEW |