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

Unified Diff: trace_processor/experimental/mappers/scheduling/map_input_blockers.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 | « no previous file | trace_processor/experimental/mappers/scheduling/map_wake_ups.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trace_processor/experimental/mappers/scheduling/map_input_blockers.html
diff --git a/trace_processor/experimental/mappers/scheduling/map_input_blockers.html b/trace_processor/experimental/mappers/scheduling/map_input_blockers.html
index 34b16a3b4b3ebb87569899c3a71bb2c5c20bba77..50ff3867d93a0ecb74f9bb5711776451638d746a 100644
--- a/trace_processor/experimental/mappers/scheduling/map_input_blockers.html
+++ b/trace_processor/experimental/mappers/scheduling/map_input_blockers.html
@@ -6,7 +6,7 @@ found in the LICENSE file.
-->
<link rel="import" href="/perf_insights/mre/function_handle.html">
-<link rel="import" href="/tracing/base/range.html">
+<link rel="import" href="/tracing/base/math/range.html">
<link rel="import" href="/tracing/model/helpers/chrome_model_helper.html">
<script>
@@ -45,13 +45,13 @@ tr.exportTo('pie', function() {
// Now we can derive the queueing interval from the flow event.
var flowEvent = event.inFlowEvents[0];
var queueRange =
- tr.b.Range.fromExplicitRange(flowEvent.start, event.start);
+ tr.b.math.Range.fromExplicitRange(flowEvent.start, event.start);
// Find all events that intersect the queueing interval and compute how
// much they contributed to it.
for (var intersectingEvent of mainThread.getDescendantEvents()) {
var eventRange =
- tr.b.Range.fromExplicitRange(intersectingEvent.start,
+ tr.b.math.Range.fromExplicitRange(intersectingEvent.start,
intersectingEvent.start + intersectingEvent.duration);
var intersection = queueRange.findIntersection(eventRange);
if (intersection.isEmpty || intersection.duration === 0)
« no previous file with comments | « no previous file | trace_processor/experimental/mappers/scheduling/map_wake_ups.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698