Python: module telemetry.web_perf.metrics.memory_timeline

telemetry.web_perf.metrics.memory_timeline | index telemetry/web_perf/metrics/memory_timeline.py

`# Copyright 2015 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.`

Modules
`` |  |
collections telemetry.value.improvement_direction | telemetry.value.list_of_scalar_values telemetry.timeline.memory_dump_event | telemetry.web_perf.metrics.timeline_based_metric |

Classes
`` |  | telemetry.web_perf.metrics.timeline_based_metric.TimelineBasedMetric(__builtin__.object) MemoryTimelineMetric
class MemoryTimelineMetric(telemetry.web_perf.metrics.timeline_based_metric.TimelineBasedMetric)
`` | `MemoryTimelineMetric reports summary stats from memory dump events.`
| Method resolution order: MemoryTimelineMetric telemetry.web_perf.metrics.timeline_based_metric.TimelineBasedMetric __builtin__.object Methods defined here: AddResults(self, model, _renderer_thread, interactions, results) Methods inherited from telemetry.web_perf.metrics.timeline_based_metric.TimelineBasedMetric: AddWholeTraceResults(self, model, results) `Computes and adds metrics corresponding to the entire trace. Override this method to compute results that correspond to the whole trace. Args: model: An instance of telemetry.timeline.model.TimelineModel. results: An instance of page.PageTestResults.` VerifyNonOverlappedRecords(self, interaction_records) `This raises exceptions if interaction_records contain overlapped ranges.` __init__(self) `Computes metrics from a telemetry.timeline Model and a range` Data descriptors inherited from telemetry.web_perf.metrics.timeline_based_metric.TimelineBasedMetric: __dict__ `dictionary for instance variables (if defined)` __weakref__ `list of weak references to the object (if defined)`

Data
`` |  | DEFAULT_METRICS = ['mmaps_ashmem', 'mmaps_private_dirty', 'mmaps_overall_pss', 'mmaps_native_heap', 'mmaps_java_heap']