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

Unified Diff: tracing/tracing/model/slice_group.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/model/resource_usage_series.html ('k') | tracing/tracing/model/thread.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/model/slice_group.html
diff --git a/tracing/tracing/model/slice_group.html b/tracing/tracing/model/slice_group.html
index f8e460ce3b942e0ae669356315b19a3d7da07ba5..adc695a0ef31014145db33ffbe7765fea5833ac3 100644
--- a/tracing/tracing/model/slice_group.html
+++ b/tracing/tracing/model/slice_group.html
@@ -7,7 +7,7 @@ found in the LICENSE file.
<link rel="import" href="/tracing/base/color_scheme.html">
<link rel="import" href="/tracing/base/guid.html">
-<link rel="import" href="/tracing/base/sorted_array_utils.html">
+<link rel="import" href="/tracing/base/math/sorted_array_utils.html">
<link rel="import" href="/tracing/core/filter.html">
<link rel="import" href="/tracing/model/event_container.html">
<link rel="import" href="/tracing/model/thread_slice.html">
@@ -313,7 +313,7 @@ tr.exportTo('tr.model', function() {
iterSlicesInTimeRange: function(callback, start, end) {
var ret = [];
- tr.b.iterateOverIntersectingIntervals(
+ tr.b.math.iterateOverIntersectingIntervals(
this.topLevelSlices,
function(s) { return s.start; },
function(s) { return s.duration; },
@@ -338,7 +338,7 @@ tr.exportTo('tr.model', function() {
findSliceAtTs: function(ts) {
if (!this.haveTopLevelSlicesBeenBuilt)
throw new Error('Nope');
- var i = tr.b.findIndexInSortedClosedIntervals(
+ var i = tr.b.math.findIndexInSortedClosedIntervals(
this.topLevelSlices,
getSliceLo, getSliceHi,
ts);
@@ -349,7 +349,7 @@ tr.exportTo('tr.model', function() {
// Now recurse on slice looking for subSlice of given ts.
while (true) {
- var i = tr.b.findIndexInSortedClosedIntervals(
+ var i = tr.b.math.findIndexInSortedClosedIntervals(
curSlice.subSlices,
getSliceLo, getSliceHi,
ts);
@@ -360,7 +360,7 @@ tr.exportTo('tr.model', function() {
},
findNextSliceAfter: function(ts, refGuid) {
- var i = tr.b.findLowIndexInSortedArray(
+ var i = tr.b.math.findLowIndexInSortedArray(
this.slices, getSliceLo, ts);
if (i === this.slices.length)
return undefined;
« no previous file with comments | « tracing/tracing/model/resource_usage_series.html ('k') | tracing/tracing/model/thread.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698