telemetry.internal.platform.profiler | index telemetry/internal/platform/profiler/__init__.py

`# Copyright 2013 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.`

Package Contents
`` |  |

android_prebuilt_profiler_helper android_profiling_helper android_profiling_helper_unittest android_screen_recorder_profiler android_screen_recorder_profiler_unittest
android_systrace_profiler
android_systrace_profiler_unittest
android_traceview_profiler
iprofiler_profiler
java_heap_profiler
monsoon
monsoon_profiler
netlog_profiler
oomkiller_profiler
perf_profiler
perf_profiler_unittest
profiler_finder
sample_profiler
strace_profiler
tcmalloc_heap_profiler
tcpdump_profiler
trace_profiler
trace_profiler_unittest
v8_profiler
vtune_profiler
vtune_profiler_unittest
win_pgo_profiler

Classes
`` |  |

__builtin__.object
  Profiler

class Profiler(__builtin__.object)
`` | `A sampling profiler provided by the platform. A profiler is started on its constructor, and should gather data until CollectProfile(). The life cycle is normally tied to a single page, i.e., multiple profilers will be created for a page set.
WillCloseBrowser() is called right before the browser
is closed to allow any further cleanup.
`
| Methods defined here:

CollectProfile(self)
  `Collect the profile from the profiler.`

__init__(self, browser_backend, platform_backend, output_path, state)

Class methods defined here:

CustomizeBrowserOptions(cls, browser_type, options) from __builtin__.type
  `Override to customize the Browser's options before it is created.`

WillCloseBrowser(cls, browser_backend, platform_backend) from __builtin__.type
  `Called before the browser is stopped.`

is_supported(cls, browser_type) from __builtin__.type
  `True iff this profiler is currently supported by the platform.`

name(cls) from __builtin__.type
  `User-friendly name of this profiler.`

Data descriptors defined here:

__dict__
  `dictionary for instance variables (if defined)`

__weakref__
  `list of weak references to the object (if defined)`