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 778bdf6273ce3a5cd243f0a01c65b2ba9d5c9024..6e63fd636e564a7cbcb1f4cb7efb91f697692bd9 100644 |
--- a/tracing/tracing/metrics/system_health/cpu_time_metric.html |
+++ b/tracing/tracing/metrics/system_health/cpu_time_metric.html |
@@ -62,10 +62,8 @@ tr.exportTo('tr.metrics.sh', function() { |
var thread = process.threads[tid]; |
var threadCpuTime = 0; |
thread.sliceGroup.topLevelSlices.forEach(function(slice) { |
- if (slice.duration === 0) |
- return; |
- if (!slice.cpuDuration) |
- return; |
+ if (slice.duration === 0) return; |
+ if (!slice.cpuDuration) return; |
var sliceRange = tr.b.math.Range.fromExplicitRange( |
slice.start, slice.end); |
var intersection = rangeOfInterest.findIntersection(sliceRange); |