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

Unified Diff: ui/latency/latency_info.cc

Issue 2954473002: Record accuracy of expected queueing time metric. (Closed)
Patch Set: Set trace ID in test. Created 3 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
« no previous file with comments | « ui/latency/latency_info.h ('k') | ui/latency/mojo/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/latency/latency_info.cc
diff --git a/ui/latency/latency_info.cc b/ui/latency/latency_info.cc
index 68523af0e1082cd3891ba8e682067b577b493804..ff1fffe2980b7911c877f50f63126de05145886c 100644
--- a/ui/latency/latency_info.cc
+++ b/ui/latency/latency_info.cc
@@ -173,6 +173,10 @@ void LatencyInfo::CopyLatencyFrom(const LatencyInfo& other,
lc.second.event_count);
}
}
+
+ expected_queueing_time_on_dispatch_ =
+ other.expected_queueing_time_on_dispatch_;
+
trace_id_ = other.trace_id();
coalesced_ = other.coalesced();
// TODO(tdresser): Ideally we'd copy |began_| here as well, but |began_| isn't
@@ -191,6 +195,10 @@ void LatencyInfo::AddNewLatencyFrom(const LatencyInfo& other) {
lc.second.event_count);
}
}
+
+ expected_queueing_time_on_dispatch_ =
+ other.expected_queueing_time_on_dispatch_;
+
trace_id_ = other.trace_id();
coalesced_ = other.coalesced();
// TODO(tdresser): Ideally we'd copy |began_| here as well, but |began_| isn't
« no previous file with comments | « ui/latency/latency_info.h ('k') | ui/latency/mojo/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698