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

Unified Diff: tools/metrics/histograms/histograms.xml

Issue 1681393003: cc: Add MainAndImplFrameTimeDelta UMA. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: - active_tree_needs_first_draw_ = true Created 4 years, 10 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:
Download patch
« no previous file with comments | « cc/trees/single_thread_proxy.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index ff7edd0ed6f9728ef856045fa9c5d9e3121a2849..fe707a5e012dc125db9ba6e25c95d848e9dc3857 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -43332,6 +43332,18 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Scheduling.MainAndImplFrameTimeDelta" units="microseconds">
+ <owner>brianderson@chromium.org</owner>
+ <summary>
+ Recorded every time the compositor draws with a new active tree. A value of
+ 0 indicates the main-side started and finished within the same frame
+ interval as the impl-side. Positive values correspond to how old any
+ main-side updates are compared to the impl-side updates. If there are no
+ mid-frame updates, this metric is a good proxy for how well the main and
+ impl threads are synchronized.
+ </summary>
+</histogram>
+
<histogram name="Scheduling.PrepareTilesDuration" units="microseconds">
<owner>brianderson@chromium.org</owner>
<summary>
@@ -82965,6 +82977,7 @@ To add a new entry, add it with any value and run test to compute valid value.
<affected-histogram name="Scheduling.BeginMainFrameToCommitDuration"/>
<affected-histogram name="Scheduling.CommitToReadyToActivateDuration"/>
<affected-histogram name="Scheduling.DrawDuration"/>
+ <affected-histogram name="Scheduling.MainAndImplFrameTimeDelta"/>
<affected-histogram name="Scheduling.PrepareTilesDuration"/>
<affected-histogram name="Scheduling.SwapToAckLatency"/>
</histogram_suffixes>
« no previous file with comments | « cc/trees/single_thread_proxy.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698