telemetry.timeline.slice
index
telemetry/timeline/slice.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.

 
Modules
       
telemetry.timeline.event

 
Classes
       
telemetry.timeline.event.TimelineEvent(__builtin__.object)
Slice

 
class Slice(telemetry.timeline.event.TimelineEvent)
    Slice represents an interval of time plus parameters associated
with that interval.
 
NOTE: The Sample class implements the same interface as
Slice. These must be kept in sync.
 
All time units are stored in milliseconds.
 
 
Method resolution order:
Slice
telemetry.timeline.event.TimelineEvent
__builtin__.object

Methods defined here:
AddSubSlice(self, sub_slice)
GetAllSubSlices(self)
GetAllSubSlicesOfName(self, name)
IterEventsInThisContainerRecrusively(self, stack=None)
__init__(self, parent_thread, category, name, timestamp, duration=0, thread_timestamp=None, thread_duration=None, args=None)

Data descriptors defined here:
self_thread_time
Thread (scheduled) time spent in this function less any thread time spent
in child events. Returns None if the slice or any of its children does not
have a thread_duration value.
self_time
Time spent in this function less any time spent in child events.

Methods inherited from telemetry.timeline.event.TimelineEvent:
__repr__(self)

Data descriptors inherited from telemetry.timeline.event.TimelineEvent:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
end
has_thread_timestamps
thread_end
Thread-specific CPU time when this event ended.
 
May be None if the trace event didn't have thread time data.