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

Unified Diff: tracing/tracing/metrics/system_health/long_tasks_metric.html

Issue 2080183004: Change Numeric sourceInfos into sample diagnostics (Closed) Base URL: https://github.com/catapult-project/catapult.git@master
Patch Set: rebase Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: tracing/tracing/metrics/system_health/long_tasks_metric.html
diff --git a/tracing/tracing/metrics/system_health/long_tasks_metric.html b/tracing/tracing/metrics/system_health/long_tasks_metric.html
index 1e2fea97a19ff3e9a36cf9f7e620a35a610c57f9..8bbf186030fea1e837b37f45300b32fe4172141d 100644
--- a/tracing/tracing/metrics/system_health/long_tasks_metric.html
+++ b/tracing/tracing/metrics/system_health/long_tasks_metric.html
@@ -83,7 +83,8 @@ tr.exportTo('tr.metrics.sh', function() {
iterateRendererMainThreads(model, function(thread) {
iterateLongTopLevelTasksOnThreadInRange(
thread, rangeOfInterest, function(task) {
- longTaskNumeric.add(task.duration, task.stableId);
+ longTaskNumeric.add(task.duration,
+ new tr.v.d.RelatedEventSet([task]));
});
});
var options = {description: 'durations of long tasks'};

Powered by Google App Engine
This is Rietveld 408576698