Python: module telemetry.timeline.event

telemetry.timeline.event | index telemetry/timeline/event.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 TimelineEvent
class TimelineEvent(__builtin__.object)
`` | `Represents a timeline event. thread_start, thread_duration and thread_end are the start time, duration and end time of this event as measured by the thread-specific CPU clock (ticking when the thread is actually scheduled). Thread time is optional on trace events and the corresponding attributes in TimelineEvent will be set to None (not 0) if not present. Users of this class need to properly handle this case.`
| Methods defined here: __init__(self, category, name, start, duration, thread_start=None, thread_duration=None, args=None) __repr__(self) Data descriptors defined here: __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.`