| |
- __builtin__.object
-
- ProcessStatisticTimelineData
-
- IdleWakeupTimelineData
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
| |