Index: tools/metrics/histograms/histograms.xml |
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml |
index b54a337982b557241462bc02932b41ab3b2aaa88..85b623d630ff35fb7e11ddf7b3969c2d46912528 100644 |
--- a/tools/metrics/histograms/histograms.xml |
+++ b/tools/metrics/histograms/histograms.xml |
@@ -15883,6 +15883,26 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries. |
</summary> |
</histogram> |
+<histogram name="Event.Latency.BlockingTime.KeyEventDefaultAllowed" units="ms"> |
+ <owner>tdresser@chromium.org</owner> |
+ <owner>input-dev@chromium.org</owner> |
+ <summary> |
+ Time between the renderer main thread receiving a keyboard event and acking |
+ it, for events which were not preventDefaulted. Only recorded for key |
+ presses. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="Event.Latency.BlockingTime.KeyEventDefaultPrevented" |
+ units="ms"> |
+ <owner>tdresser@chromium.org</owner> |
+ <owner>input-dev@chromium.org</owner> |
+ <summary> |
+ Time between the renderer main thread receiving a keyboard event and acking |
+ it, for events which were preventDefaulted. Only recorded for key presses. |
+ </summary> |
+</histogram> |
+ |
<histogram name="Event.Latency.BlockingTime.TouchEndDefaultAllowed" units="ms"> |
<owner>tdresser@chromium.org</owner> |
<summary> |
@@ -16309,6 +16329,24 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries. |
</summary> |
</histogram> |
+<histogram name="Event.Latency.Browser.KeyAcked" units="microseconds"> |
+ <owner>tdresser@chromium.org</owner> |
+ <owner>input-dev@chromium.org</owner> |
+ <summary> |
+ Time between key events sent from RWH to renderer and acked by renderer. |
+ Only monitors key presses. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="Event.Latency.Browser.KeyUI" units="microseconds"> |
+ <owner>tdresser@chromium.org</owner> |
+ <owner>input-dev@chromium.org</owner> |
+ <summary> |
+ Time between key events received by Chrome and sent from RWH to renderer. |
+ Only monitors key presses. |
+ </summary> |
+</histogram> |
+ |
<histogram name="Event.Latency.Browser.TouchAcked" units="microseconds"> |
<owner>tdresser@chromium.org</owner> |
<summary> |
@@ -16345,6 +16383,16 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries. |
</summary> |
</histogram> |
+<histogram name="Event.Latency.EndToEnd.Key" units="ms"> |
+ <owner>tdresser@chromium.org</owner> |
+ <owner>input-dev@chromium.org</owner> |
+ <summary> |
+ Time between the OS receiving a keyboard event and the resulting GPU frame |
+ swap. If no swap was induced by the event, no recording is made. Only |
+ recorded for key presses. |
+ </summary> |
+</histogram> |
+ |
<histogram name="Event.Latency.HitTest" units="microseconds"> |
<owner>dtapuska@chromium.org</owner> |
<summary> |
@@ -16372,6 +16420,27 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries. |
<summary>Time between input event received by OS and sent to Chrome.</summary> |
</histogram> |
+<histogram name="Event.Latency.QueueingTime.KeyEventDefaultAllowed" units="ms"> |
+ <owner>tdresser@chromium.org</owner> |
+ <owner>input-dev@chromium.org</owner> |
+ <summary> |
+ Time between sending a keyboard event to the renderer main thread and when |
+ the renderer begins to process that event, for events which were not |
+ preventDefaulted. Only recorded for key presses. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="Event.Latency.QueueingTime.KeyEventDefaultPrevented" |
+ units="ms"> |
+ <owner>tdresser@chromium.org</owner> |
+ <owner>input-dev@chromium.org</owner> |
+ <summary> |
+ Time between sending a keyboard event to the renderer main thread and when |
+ the renderer begins to process that event, for events which were |
+ preventDefaulted. Only recorded for key presses. |
+ </summary> |
+</histogram> |
+ |
<histogram name="Event.Latency.QueueingTime.TouchEndDefaultAllowed" units="ms"> |
<owner>tdresser@chromium.org</owner> |
<summary> |