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

Side by Side Diff: tracing/tracing/metrics/blink/gc_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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <!-- 2 <!--
3 Copyright 2016 The Chromium Authors. All rights reserved. 3 Copyright 2016 The Chromium Authors. All rights reserved.
4 Use of this source code is governed by a BSD-style license that can be 4 Use of this source code is governed by a BSD-style license that can be
5 found in the LICENSE file. 5 found in the LICENSE file.
6 --> 6 -->
7 7
8 <link rel="import" href="/tracing/base/range.html"> 8 <link rel="import" href="/tracing/base/math/range.html">
9 <link rel="import" href="/tracing/base/unit.html"> 9 <link rel="import" href="/tracing/base/unit.html">
10 <link rel="import" href="/tracing/metrics/metric_registry.html"> 10 <link rel="import" href="/tracing/metrics/metric_registry.html">
11 <link rel="import" href="/tracing/metrics/v8/utils.html"> 11 <link rel="import" href="/tracing/metrics/v8/utils.html">
12 <link rel="import" href="/tracing/value/histogram.html"> 12 <link rel="import" href="/tracing/value/histogram.html">
13 13
14 <script> 14 <script>
15 'use strict'; 15 'use strict';
16 16
17 tr.exportTo('tr.metrics.blink', function() { 17 tr.exportTo('tr.metrics.blink', function() {
18 // Maps the Blink GC events in timeline to telemetry friendly names. 18 // Maps the Blink GC events in timeline to telemetry friendly names.
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 var percentage = createPercentage( 190 var percentage = createPercentage(
191 name + '_percentage_idle', insideIdle.sum, cpuDuration.sum); 191 name + '_percentage_idle', insideIdle.sum, cpuDuration.sum);
192 histograms.addHistogram(percentage); 192 histograms.addHistogram(percentage);
193 } 193 }
194 194
195 return { 195 return {
196 blinkGcMetric, 196 blinkGcMetric,
197 }; 197 };
198 }); 198 });
199 </script> 199 </script>
OLDNEW
« no previous file with comments | « tracing/tracing/importer/user_model_builder.html ('k') | tracing/tracing/metrics/compare_samples_cmdline.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698