Index: tools/metrics/histograms/histograms.xml |
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml |
index 4b4fd284c7eb517f0c91bb536e9a508496e4d088..64ad3f007e2351adfe4d87debf22cee1242546cb 100644 |
--- a/tools/metrics/histograms/histograms.xml |
+++ b/tools/metrics/histograms/histograms.xml |
@@ -41275,6 +41275,34 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries. |
</summary> |
</histogram> |
+<histogram name="Scheduling.BeginMainFrameIntervalCritical" |
+ units="microseconds"> |
+ <owner>brianderson@chromium.org</owner> |
+ <summary> |
+ This is the time delta between back-to-back BeginMainFrames completions on |
+ the compositor side when the on_critical_path flag is set, regardless of |
+ whether they abort (have no updates) or commit (have updates). |
+ |
+ The interval is only recorded when the BeginMainFrames are running |
+ continuously; sepcifically when another BeginMainFrame is requested by the |
+ next BeginImplFrame after a) an abort or b) activation. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="Scheduling.BeginMainFrameIntervalNotCritical" |
+ units="microseconds"> |
+ <owner>brianderson@chromium.org</owner> |
+ <summary> |
+ This is the time delta between back-to-back BeginMainFrames completions on |
+ the compositor side when the on_critical_path flag is not set, regardless of |
+ whether they abort (have no updates) or commit (have updates). |
+ |
+ The interval is only recorded when the BeginMainFrames are running |
+ continuously; sepcifically when another BeginMainFrame is requested by the |
+ next BeginImplFrame after a) an abort or b) activation. |
+ </summary> |
+</histogram> |
+ |
<histogram name="Scheduling.BeginMainFrameQueueDurationCritical" |
units="microseconds"> |
<owner>brianderson@chromium.org</owner> |
@@ -41308,11 +41336,23 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries. |
units="microseconds"> |
<owner>brianderson@chromium.org</owner> |
<summary> |
- How long it takes for the blink main thread to respond to the compositors |
+ How long it takes for the blink main thread to respond to the compositor's |
SendBeginMainFrame. |
</summary> |
</histogram> |
+<histogram name="Scheduling.CommitInterval" units="microseconds"> |
+ <owner>brianderson@chromium.org</owner> |
+ <summary> |
+ The time delta between the *draw* times of back-to-back BeginMainFrames that |
+ result in a commit. |
+ |
+ The interval is only recorded when the BeginMainFrames are running and |
+ committing continuously, where continuously means when another |
+ BeginMainFrame is requested by the next BeginImplFrame after activation. |
+ </summary> |
+</histogram> |
+ |
<histogram name="Scheduling.CommitToReadyToActivateDuration" |
units="microseconds"> |
<owner>brianderson@chromium.org</owner> |
@@ -41327,6 +41367,16 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries. |
<summary>How long it takes the compositor to draw a frame.</summary> |
</histogram> |
+<histogram name="Scheduling.DrawInterval" units="microseconds"> |
+ <owner>brianderson@chromium.org</owner> |
+ <summary> |
+ The time delta between the draw times of back-to-back BeginImplFrames, |
+ regardless of whether or not they result in a swap. |
+ |
+ The interval is only recorded when every BeginImplFrame wants to draw. |
+ </summary> |
+</histogram> |
+ |
<histogram name="Scheduling.PrepareTilesDuration" units="microseconds"> |
<owner>brianderson@chromium.org</owner> |
<summary> |
@@ -77973,9 +78023,13 @@ To add a new entry, add it with any value and run test to compute valid value. |
ordering="prefix"> |
<suffix name="Browser"/> |
<suffix name="Renderer"/> |
+ <affected-histogram name="Scheduling.BeginMainFrameIntervalCritical"/> |
+ <affected-histogram name="Scheduling.BeginMainFrameIntervalNotCritical"/> |
<affected-histogram name="Scheduling.BeginMainFrameQueueDurationCritical"/> |
<affected-histogram name="Scheduling.BeginMainFrameQueueDurationNotCritical"/> |
<affected-histogram name="Scheduling.BeginMainFrameStartToCommitDuration"/> |
+ <affected-histogram name="Scheduling.CommitInterval"/> |
+ <affected-histogram name="Scheduling.DrawInterval"/> |
</histogram_suffixes> |
<histogram_suffixes name="CompositorTimingHistorySubcategory" separator="."> |