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

Unified Diff: tracing/tracing/metrics/system_health/cpu_time_metric.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
Index: tracing/tracing/metrics/system_health/cpu_time_metric.html
diff --git a/tracing/tracing/metrics/system_health/cpu_time_metric.html b/tracing/tracing/metrics/system_health/cpu_time_metric.html
index d9f53028d903efc2fb52f3ff8c3662416d1ecbbe..778bdf6273ce3a5cd243f0a01c65b2ba9d5c9024 100644
--- a/tracing/tracing/metrics/system_health/cpu_time_metric.html
+++ b/tracing/tracing/metrics/system_health/cpu_time_metric.html
@@ -66,7 +66,8 @@ tr.exportTo('tr.metrics.sh', function() {
return;
if (!slice.cpuDuration)
return;
- var sliceRange = tr.b.Range.fromExplicitRange(slice.start, slice.end);
+ var sliceRange = tr.b.math.Range.fromExplicitRange(
+ slice.start, slice.end);
var intersection = rangeOfInterest.findIntersection(sliceRange);
var fractionOfSliceInsideRangeOfInterest =
intersection.duration / slice.duration;
« no previous file with comments | « tracing/tracing/metrics/spa_navigation_metric.html ('k') | tracing/tracing/metrics/system_health/cpu_time_metric_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698