Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(257)

Unified Diff: tracing/tracing/importer/user_model_builder.html

Issue 2771723003: [tracing] Move math utilities from base into their own subdirectory (attempt 2) (Closed)
Patch Set: rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tracing/tracing/importer/proto_expectation.html ('k') | tracing/tracing/metrics/blink/gc_metric.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/importer/user_model_builder.html
diff --git a/tracing/tracing/importer/user_model_builder.html b/tracing/tracing/importer/user_model_builder.html
index 41a919fb135b896eb38fada59a0eaf3aca6ef890..b2722e868c5df140773d9ceadb784ae3eb0643e3 100644
--- a/tracing/tracing/importer/user_model_builder.html
+++ b/tracing/tracing/importer/user_model_builder.html
@@ -6,7 +6,7 @@ found in the LICENSE file.
-->
<link rel="import" href="/tracing/base/base.html">
-<link rel="import" href="/tracing/base/range_utils.html">
+<link rel="import" href="/tracing/base/math/range_utils.html">
<link rel="import" href="/tracing/core/auditor.html">
<link rel="import" href="/tracing/extras/chrome/cc/input_latency_async_slice.html">
<link rel="import" href="/tracing/importer/find_input_expectations.html">
@@ -80,10 +80,10 @@ tr.exportTo('tr.importer', function() {
var segment = new tr.model.um.Segment(
timestamps[i], timestamps[i + 1] - timestamps[i]);
segments.push(segment);
- var segmentRange = tr.b.Range.fromExplicitRange(
+ var segmentRange = tr.b.math.Range.fromExplicitRange(
segment.start, segment.end);
for (var expectation of this.model.userModel.expectations) {
- var expectationRange = tr.b.Range.fromExplicitRange(
+ var expectationRange = tr.b.math.Range.fromExplicitRange(
expectation.start, expectation.end);
if (segmentRange.intersectsRangeExclusive(expectationRange)) {
segment.expectations.push(expectation);
@@ -156,8 +156,8 @@ tr.exportTo('tr.importer', function() {
findIdleExpectations(otherUEs) {
if (this.model.bounds.isEmpty) return;
- var emptyRanges = tr.b.findEmptyRangesBetweenRanges(
- tr.b.convertEventsToRanges(otherUEs),
+ var emptyRanges = tr.b.math.findEmptyRangesBetweenRanges(
+ tr.b.math.convertEventsToRanges(otherUEs),
this.model.bounds);
var expectations = [];
var model = this.model;
« no previous file with comments | « tracing/tracing/importer/proto_expectation.html ('k') | tracing/tracing/metrics/blink/gc_metric.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698