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

Side by Side Diff: tracing/tracing/metrics/tracing_metric.html

Issue 2526613002: Return short-hand object literals to exportTo. (Closed)
Patch Set: manual fixes Created 4 years 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/iteration_helpers.html"> 8 <link rel="import" href="/tracing/base/iteration_helpers.html">
9 <link rel="import" href="/tracing/metrics/metric_registry.html"> 9 <link rel="import" href="/tracing/metrics/metric_registry.html">
10 <link rel="import" href="/tracing/value/diagnostics/diagnostic_map.html"> 10 <link rel="import" href="/tracing/value/diagnostics/diagnostic_map.html">
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 maxEventBytesPerSecValue.diagnostics.set( 188 maxEventBytesPerSecValue.diagnostics.set(
189 'category_with_max_event_size', new tr.v.d.Generic(biggestCategory)); 189 'category_with_max_event_size', new tr.v.d.Generic(biggestCategory));
190 values.addHistogram(maxEventBytesPerSecValue); 190 values.addHistogram(maxEventBytesPerSecValue);
191 191
192 addMemoryInfraValues(values, model, categoryNamesToTotalEventSizes); 192 addMemoryInfraValues(values, model, categoryNamesToTotalEventSizes);
193 } 193 }
194 194
195 tr.metrics.MetricRegistry.register(tracingMetric); 195 tr.metrics.MetricRegistry.register(tracingMetric);
196 196
197 return { 197 return {
198 tracingMetric: tracingMetric, 198 tracingMetric,
199 // For testing only: 199 // For testing only:
200 MEMORY_INFRA_TRACING_CATEGORY: MEMORY_INFRA_TRACING_CATEGORY 200 MEMORY_INFRA_TRACING_CATEGORY,
201 }; 201 };
202 }); 202 });
203 </script> 203 </script>
OLDNEW
« no previous file with comments | « tracing/tracing/metrics/system_health/webview_startup_metric.html ('k') | tracing/tracing/metrics/v8/execution_metric.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698