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

Side by Side Diff: tracing/tracing/metrics/system_health/long_tasks_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/extras/chrome/chrome_user_friendly_category_dr iver.html"> 8 <link rel="import" href="/tracing/extras/chrome/chrome_user_friendly_category_dr iver.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/model/helpers/chrome_model_helper.html"> 10 <link rel="import" href="/tracing/model/helpers/chrome_model_helper.html">
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 breakdown.colorScheme = 98 breakdown.colorScheme =
99 tr.v.d.COLOR_SCHEME_CHROME_USER_FRIENDLY_CATEGORY_DRIVER; 99 tr.v.d.COLOR_SCHEME_CHROME_USER_FRIENDLY_CATEGORY_DRIVER;
100 longTaskHist.diagnostics.set('category', breakdown); 100 longTaskHist.diagnostics.set('category', breakdown);
101 } 101 }
102 102
103 tr.metrics.MetricRegistry.register(longTasksMetric, { 103 tr.metrics.MetricRegistry.register(longTasksMetric, {
104 supportsRangeOfInterest: true 104 supportsRangeOfInterest: true
105 }); 105 });
106 106
107 return { 107 return {
108 longTasksMetric: longTasksMetric, 108 longTasksMetric,
109 iterateLongTopLevelTasksOnThreadInRange: 109 iterateLongTopLevelTasksOnThreadInRange,
110 iterateLongTopLevelTasksOnThreadInRange, 110 iterateRendererMainThreads,
111 iterateRendererMainThreads: iterateRendererMainThreads, 111 LONG_TASK_MS,
112 LONG_TASK_MS: LONG_TASK_MS, 112 LONGEST_TASK_MS,
113 LONGEST_TASK_MS: LONGEST_TASK_MS
114 }; 113 };
115 }); 114 });
116 </script> 115 </script>
OLDNEW
« no previous file with comments | « tracing/tracing/metrics/system_health/loading_metric.html ('k') | tracing/tracing/metrics/system_health/memory_metric.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698