telemetry.timeline.sample | index telemetry/timeline/sample.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)
  Sample

class Sample(telemetry.timeline.event.TimelineEvent)
`` | `A Sample represents a sample taken at an instant in time plus parameters associated with that sample. 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:
  Sample
  telemetry.timeline.event.TimelineEvent
  __builtin__.object

Methods defined here:

__init__(self, parent_thread, category, name, timestamp, args=None)

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.`