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

Side by Side Diff: tracing/tracing/metrics/v8/v8_metrics.html

Issue 2162963002: [polymer] Merge of master into polymer10-migration (Closed) Base URL: git@github.com:catapult-project/catapult.git@polymer10-migration
Patch Set: Merge polymer10-migration int polymer10-merge Created 4 years, 5 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
« no previous file with comments | « tracing/tracing/metrics/v8/utils_test.html ('k') | tracing/tracing/model/async_slice.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/metrics/metric_registry.html"> 8 <link rel="import" href="/tracing/metrics/metric_registry.html">
9 <link rel="import" href="/tracing/metrics/system_health/memory_metric.html"> 9 <link rel="import" href="/tracing/metrics/system_health/memory_metric.html">
10 <link rel="import" href="/tracing/metrics/v8/execution_metric.html"> 10 <link rel="import" href="/tracing/metrics/v8/execution_metric.html">
11 <link rel="import" href="/tracing/metrics/v8/gc_metric.html"> 11 <link rel="import" href="/tracing/metrics/v8/gc_metric.html">
12 12
13 <script> 13 <script>
14 'use strict'; 14 'use strict';
15 15
16 tr.exportTo('tr.metrics.v8', function() { 16 tr.exportTo('tr.metrics.v8', function() {
17 function v8AndMemoryMetrics(values, model) { 17 function v8AndMemoryMetrics(values, model) {
18 tr.metrics.v8.executionMetric(values, model); 18 tr.metrics.v8.executionMetric(values, model);
19 tr.metrics.v8.gcMetric(values, model); 19 tr.metrics.v8.gcMetric(values, model);
20 tr.metrics.sh.memoryMetric(values, model); 20 tr.metrics.sh.memoryMetric(values, model,
21 {rangeOfInterest: tr.metrics.v8.utils.rangeForMemoryDumps(model)});
21 } 22 }
22 23
23 tr.metrics.MetricRegistry.register(v8AndMemoryMetrics); 24 tr.metrics.MetricRegistry.register(v8AndMemoryMetrics);
24 25
25 return { 26 return {
26 v8AndMemoryMetrics: v8AndMemoryMetrics 27 v8AndMemoryMetrics: v8AndMemoryMetrics
27 }; 28 };
28 }); 29 });
29 </script> 30 </script>
OLDNEW
« no previous file with comments | « tracing/tracing/metrics/v8/utils_test.html ('k') | tracing/tracing/model/async_slice.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698