Python: module telemetry.util.process_statistic_timeline_data

telemetry.util.process_statistic_timeline_data | index telemetry/util/process_statistic_timeline_data.py

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

Classes
`` |  | __builtin__.object ProcessStatisticTimelineData IdleWakeupTimelineData
class IdleWakeupTimelineData(ProcessStatisticTimelineData)
`` | `A ProcessStatisticTimelineData to hold idle wakeups.`
| Method resolution order: IdleWakeupTimelineData ProcessStatisticTimelineData __builtin__.object Methods inherited from ProcessStatisticTimelineData: __add__(self, other) `The result contains pids from both |self| and |other|, if duplicate pids are found between objects, an error will occur.` __init__(self, pid, value) __sub__(self, other) `The results of subtraction is an object holding only the pids contained in |self|. The motivation is that some processes may have died between two consecutive measurements. The desired behavior is to only make calculations based on the processes that are alive at the end of the second measurement.` total_sum(self) `Returns the sum of all values contained by this object.` Data descriptors inherited from ProcessStatisticTimelineData: __dict__ `dictionary for instance variables (if defined)` __weakref__ `list of weak references to the object (if defined)` value_by_pid
class ProcessStatisticTimelineData(__builtin__.object)
`` | `Holds value of a stat for one or more processes. This object can hold a value for more than one pid by adding another object.`
| Methods defined here: __add__(self, other) `The result contains pids from both |self| and |other|, if duplicate pids are found between objects, an error will occur.` __init__(self, pid, value) __sub__(self, other) `The results of subtraction is an object holding only the pids contained in |self|. The motivation is that some processes may have died between two consecutive measurements. The desired behavior is to only make calculations based on the processes that are alive at the end of the second measurement.` total_sum(self) `Returns the sum of all values contained by this object.` Data descriptors defined here: __dict__ `dictionary for instance variables (if defined)` __weakref__ `list of weak references to the object (if defined)` value_by_pid