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

class Bounds(__builtin__.object)
`` | `Represents a min-max bounds.`
| Methods defined here:

AddBounds(self, bounds)

AddEvent(self, event)

AddValue(self, value)

Contains(self, other)

ContainsInterval(self, start, end)

Intersects(self, other)

Reset(self)

__init__(self)

__repr__(self)

Static methods defined here:

CompareByMinTimes(a, b)

CreateFromEvent(event)

GetOverlap(first_bounds_min, first_bounds_max, second_bounds_min, second_bounds_max)

GetOverlapBetweenBounds(first_bounds, second_bounds)
  `Compute the overlap duration between first_bounds and second_bounds.`

Data descriptors defined here:

__dict__
  `dictionary for instance variables (if defined)`

__weakref__
  `list of weak references to the object (if defined)`

bounds

center

is_empty

max

min