projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git]
/
src
/
tools
/
telemetry
/
telemetry
/
core
/
timeline
/
bounds.py
diff --git
a/src/tools/telemetry/telemetry/core/timeline/bounds.py
b/src/tools/telemetry/telemetry/core/timeline/bounds.py
index
14817d7
..
fd0d832
100644
(file)
--- a/
src/tools/telemetry/telemetry/core/timeline/bounds.py
+++ b/
src/tools/telemetry/telemetry/core/timeline/bounds.py
@@
-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