2 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.0 Transitional//EN">
3 <html><head><title>Python: module telemetry.internal.platform.profiler.oomkiller_profiler
</title>
5 </head><body bgcolor=
"#f0f0f8">
7 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"heading">
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>
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>
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>
34 <tr><td bgcolor=
"#ee77aa"><tt> </tt></td><td> </td>
36 <dt><font face=
"helvetica, arial"><a href=
"exceptions.html#Exception">exceptions.Exception
</a>(
<a href=
"exceptions.html#BaseException">exceptions.BaseException
</a>)
39 <dt><font face=
"helvetica, arial"><a href=
"telemetry.internal.platform.profiler.oomkiller_profiler.html#UnableToFindApplicationException">UnableToFindApplicationException
</a>
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>)
45 <dt><font face=
"helvetica, arial"><a href=
"telemetry.internal.platform.profiler.oomkiller_profiler.html#OOMKillerProfiler">OOMKillerProfiler
</a>
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>
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>
57 at
the
end
of
the
run.
<br> </tt></td></tr>
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>
65 Methods defined here:
<br>
66 <dl><dt><a name=
"OOMKillerProfiler-CollectProfile"><strong>CollectProfile
</strong></a>(self)
</dt></dl>
68 <dl><dt><a name=
"OOMKillerProfiler-__init__"><strong>__init__
</strong></a>(self, browser_backend, platform_backend, output_path, state)
</dt></dl>
71 Class 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>
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>
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>
79 Class 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>
83 Data 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>
87 <dl><dt><strong>__weakref__
</strong></dt>
88 <dd><tt>list
of
weak
references
to
the
object
(if
defined)
</tt></dd>
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>
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>
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>
106 Methods defined here:
<br>
107 <dl><dt><a name=
"UnableToFindApplicationException-__init__"><strong>__init__
</strong></a>(self, application)
</dt></dl>
109 <dl><dt><a name=
"UnableToFindApplicationException-__str__"><strong>__str__
</strong></a>(self)
</dt></dl>
112 Data 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>
117 Data 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>
121 Methods 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>
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>
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>
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>
130 Use
of
negative
indices
is
not
supported.
</tt></dd></dl>
132 <dl><dt><a name=
"UnableToFindApplicationException-__reduce__"><strong>__reduce__
</strong></a>(...)
</dt></dl>
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>
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>
138 <dl><dt><a name=
"UnableToFindApplicationException-__setstate__"><strong>__setstate__
</strong></a>(...)
</dt></dl>
140 <dl><dt><a name=
"UnableToFindApplicationException-__unicode__"><strong>__unicode__
</strong></a>(...)
</dt></dl>
143 Data descriptors inherited from
<a href=
"exceptions.html#BaseException">exceptions.BaseException
</a>:
<br>
144 <dl><dt><strong>__dict__
</strong></dt>
146 <dl><dt><strong>args
</strong></dt>
148 <dl><dt><strong>message
</strong></dt>
150 </td></tr></table></td></tr></table>