1 2<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 3<html><head><title>Python: module telemetry.internal.platform.profiler.oomkiller_profiler</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 href="telemetry.html"><font color="#ffffff">telemetry</font></a>.<a href="telemetry.internal.html"><font color="#ffffff">internal</font></a>.<a href="telemetry.internal.platform.html"><font color="#ffffff">platform</font></a>.<a href="telemetry.internal.platform.profiler.html"><font color="#ffffff">profiler</font></a>.oomkiller_profiler</strong></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/internal/platform/profiler/oomkiller_profiler.py">telemetry/internal/platform/profiler/oomkiller_profiler.py</a></font></td></tr></table> 13 <p><tt># Copyright 2013 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="#aa55cc"> 19<td colspan=3 valign=bottom> <br> 20<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> 21 22<tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> 23<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="telemetry.internal.backends.chrome.android_browser_finder.html">telemetry.internal.backends.chrome.android_browser_finder</a><br> 24<a href="telemetry.internal.util.binary_manager.html">telemetry.internal.util.binary_manager</a><br> 25</td><td width="25%" valign=top><a href="devil.android.sdk.intent.html">devil.android.sdk.intent</a><br> 26<a href="os.html">os</a><br> 27</td><td width="25%" valign=top><a href="telemetry.internal.platform.profiler.html">telemetry.internal.platform.profiler</a><br> 28</td><td width="25%" valign=top></td></tr></table></td></tr></table><p> 29<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 30<tr bgcolor="#ee77aa"> 31<td colspan=3 valign=bottom> <br> 32<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> 33 34<tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> 35<td width="100%"><dl> 36<dt><font face="helvetica, arial"><a href="exceptions.html#Exception">exceptions.Exception</a>(<a href="exceptions.html#BaseException">exceptions.BaseException</a>) 37</font></dt><dd> 38<dl> 39<dt><font face="helvetica, arial"><a href="telemetry.internal.platform.profiler.oomkiller_profiler.html#UnableToFindApplicationException">UnableToFindApplicationException</a> 40</font></dt></dl> 41</dd> 42<dt><font face="helvetica, arial"><a href="telemetry.internal.platform.profiler.html#Profiler">telemetry.internal.platform.profiler.Profiler</a>(<a href="__builtin__.html#object">__builtin__.object</a>) 43</font></dt><dd> 44<dl> 45<dt><font face="helvetica, arial"><a href="telemetry.internal.platform.profiler.oomkiller_profiler.html#OOMKillerProfiler">OOMKillerProfiler</a> 46</font></dt></dl> 47</dd> 48</dl> 49 <p> 50<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 51<tr bgcolor="#ffc8d8"> 52<td colspan=3 valign=bottom> <br> 53<font color="#000000" face="helvetica, arial"><a name="OOMKillerProfiler">class <strong>OOMKillerProfiler</strong></a>(<a href="telemetry.internal.platform.profiler.html#Profiler">telemetry.internal.platform.profiler.Profiler</a>)</font></td></tr> 54 55<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> 56<td colspan=2><tt>Android-specific, Launch the music application and check it is still alive<br> 57at the end of the run.<br> </tt></td></tr> 58<tr><td> </td> 59<td width="100%"><dl><dt>Method resolution order:</dt> 60<dd><a href="telemetry.internal.platform.profiler.oomkiller_profiler.html#OOMKillerProfiler">OOMKillerProfiler</a></dd> 61<dd><a href="telemetry.internal.platform.profiler.html#Profiler">telemetry.internal.platform.profiler.Profiler</a></dd> 62<dd><a href="__builtin__.html#object">__builtin__.object</a></dd> 63</dl> 64<hr> 65Methods defined here:<br> 66<dl><dt><a name="OOMKillerProfiler-CollectProfile"><strong>CollectProfile</strong></a>(self)</dt></dl> 67 68<dl><dt><a name="OOMKillerProfiler-__init__"><strong>__init__</strong></a>(self, browser_backend, platform_backend, output_path, state)</dt></dl> 69 70<hr> 71Class methods defined here:<br> 72<dl><dt><a name="OOMKillerProfiler-WillCloseBrowser"><strong>WillCloseBrowser</strong></a>(cls, browser_backend, platform_backend)<font color="#909090"><font face="helvetica, arial"> from <a href="__builtin__.html#type">__builtin__.type</a></font></font></dt></dl> 73 74<dl><dt><a name="OOMKillerProfiler-is_supported"><strong>is_supported</strong></a>(cls, browser_type)<font color="#909090"><font face="helvetica, arial"> from <a href="__builtin__.html#type">__builtin__.type</a></font></font></dt></dl> 75 76<dl><dt><a name="OOMKillerProfiler-name"><strong>name</strong></a>(cls)<font color="#909090"><font face="helvetica, arial"> from <a href="__builtin__.html#type">__builtin__.type</a></font></font></dt></dl> 77 78<hr> 79Class methods inherited from <a href="telemetry.internal.platform.profiler.html#Profiler">telemetry.internal.platform.profiler.Profiler</a>:<br> 80<dl><dt><a name="OOMKillerProfiler-CustomizeBrowserOptions"><strong>CustomizeBrowserOptions</strong></a>(cls, browser_type, options)<font color="#909090"><font face="helvetica, arial"> from <a href="__builtin__.html#type">__builtin__.type</a></font></font></dt><dd><tt>Override to customize the Browser's options before it is created.</tt></dd></dl> 81 82<hr> 83Data descriptors inherited from <a href="telemetry.internal.platform.profiler.html#Profiler">telemetry.internal.platform.profiler.Profiler</a>:<br> 84<dl><dt><strong>__dict__</strong></dt> 85<dd><tt>dictionary for instance variables (if defined)</tt></dd> 86</dl> 87<dl><dt><strong>__weakref__</strong></dt> 88<dd><tt>list of weak references to the object (if defined)</tt></dd> 89</dl> 90</td></tr></table> <p> 91<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 92<tr bgcolor="#ffc8d8"> 93<td colspan=3 valign=bottom> <br> 94<font color="#000000" face="helvetica, arial"><a name="UnableToFindApplicationException">class <strong>UnableToFindApplicationException</strong></a>(<a href="exceptions.html#Exception">exceptions.Exception</a>)</font></td></tr> 95 96<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> 97<td colspan=2><tt><a href="exceptions.html#Exception">Exception</a> when unable to find a launched application<br> </tt></td></tr> 98<tr><td> </td> 99<td width="100%"><dl><dt>Method resolution order:</dt> 100<dd><a href="telemetry.internal.platform.profiler.oomkiller_profiler.html#UnableToFindApplicationException">UnableToFindApplicationException</a></dd> 101<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd> 102<dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd> 103<dd><a href="__builtin__.html#object">__builtin__.object</a></dd> 104</dl> 105<hr> 106Methods defined here:<br> 107<dl><dt><a name="UnableToFindApplicationException-__init__"><strong>__init__</strong></a>(self, application)</dt></dl> 108 109<dl><dt><a name="UnableToFindApplicationException-__str__"><strong>__str__</strong></a>(self)</dt></dl> 110 111<hr> 112Data descriptors defined here:<br> 113<dl><dt><strong>__weakref__</strong></dt> 114<dd><tt>list of weak references to the object (if defined)</tt></dd> 115</dl> 116<hr> 117Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br> 118<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#UnableToFindApplicationException-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</tt></dl> 119 120<hr> 121Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br> 122<dl><dt><a name="UnableToFindApplicationException-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#UnableToFindApplicationException-__delattr__">__delattr__</a>('name') <==> del x.name</tt></dd></dl> 123 124<dl><dt><a name="UnableToFindApplicationException-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#UnableToFindApplicationException-__getattribute__">__getattribute__</a>('name') <==> x.name</tt></dd></dl> 125 126<dl><dt><a name="UnableToFindApplicationException-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#UnableToFindApplicationException-__getitem__">__getitem__</a>(y) <==> x[y]</tt></dd></dl> 127 128<dl><dt><a name="UnableToFindApplicationException-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#UnableToFindApplicationException-__getslice__">__getslice__</a>(i, j) <==> x[i:j]<br> 129 <br> 130Use of negative indices is not supported.</tt></dd></dl> 131 132<dl><dt><a name="UnableToFindApplicationException-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl> 133 134<dl><dt><a name="UnableToFindApplicationException-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#UnableToFindApplicationException-__repr__">__repr__</a>() <==> repr(x)</tt></dd></dl> 135 136<dl><dt><a name="UnableToFindApplicationException-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#UnableToFindApplicationException-__setattr__">__setattr__</a>('name', value) <==> x.name = value</tt></dd></dl> 137 138<dl><dt><a name="UnableToFindApplicationException-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl> 139 140<dl><dt><a name="UnableToFindApplicationException-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl> 141 142<hr> 143Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br> 144<dl><dt><strong>__dict__</strong></dt> 145</dl> 146<dl><dt><strong>args</strong></dt> 147</dl> 148<dl><dt><strong>message</strong></dt> 149</dl> 150</td></tr></table></td></tr></table> 151</body></html>