Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / tools / telemetry / telemetry / core / timeline / bounds.py
index 14817d7..fd0d832 100644 (file)
@@ -52,6 +52,9 @@ class Bounds(object):
       return False
     return self.min <= other.min and self.max >= other.max
 
+  def ContainsInterval(self, start, end):
+    return self.min <= start and self.max >= end
+
   def Intersects(self, other):
     if self.is_empty or other.is_empty:
       return False