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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 561223002: Updates the histograms for IMF and IMEs according to the new design. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revised per comments. Created 6 years, 3 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
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index fea147bdb5902d4937b05d2589cb1fa8c4f34b7e..3420798fa8198a867ca2638da9302c51b2bcaac1 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -9707,6 +9707,44 @@ Therefore, the affected-histogram name has to have at least one dot in it.
<summary>The type of Vary header for a given GET response.</summary>
</histogram>
+<histogram name="IME.Commit.Index">
+ <owner>shuchen@chromium.org</owner>
+ <summary>
+ The suggestion index (1-based) of the suggestion list item which user
+ chooses to commit.
+ </summary>
+</histogram>
+
+<histogram name="IME.Commit.Type" enum="IMECommitType">
+ <owner>shuchen@chromium.org</owner>
+ <summary>
+ The suggestion accuracy type which user chooses to commit. 0: User types X,
+ and chooses X as top suggestion.
Ilya Sherman 2014/09/16 21:51:48 Hmm, why did you leave the label for bucket 0 whil
Shu Chen 2014/09/17 15:17:28 Done. Errh, I should have been more careful when r
+ </summary>
+</histogram>
+
+<histogram name="IME.VirtualKeyboard.InitLatency" units="milliseconds">
+ <owner>shuchen@chromium.org</owner>
+ <summary>
+ The on-screen keyboard initialization latency in milliseconds.
+ </summary>
+</histogram>
+
+<histogram name="IME.VirtualKeyboard.Layout" enum="IMEVKLayout">
+ <owner>shuchen@chromium.org</owner>
+ <summary>
+ The layout of the on-screen keyboard. Logged when the specific layout is
+ shown.
+ </summary>
+</histogram>
+
+<histogram name="IME.VirtualKeyboard.LayoutSwitch">
+ <owner>shuchen@chromium.org</owner>
+ <summary>
+ The count of layout switching actions when virtual keyboard is alive.
Ilya Sherman 2014/09/16 21:51:49 nit: "when" -> "while". Also, please document whe
Shu Chen 2014/09/17 15:17:28 Done.
+ </summary>
+</histogram>
+
<histogram name="Import.ImporterType.AutoImport" enum="ImporterType">
<owner>gab@chromium.org</owner>
<summary>The importer used on first run Auto Import.</summary>
@@ -9861,6 +9899,35 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</summary>
</histogram>
+<histogram name="InputMethod.ActiveCount">
+ <owner>shuchen@chromium.org</owner>
+ <summary>
+ The number of active input methods. Recorded when the user logs in to Chrome
+ OS.
+ </summary>
+</histogram>
+
+<histogram name="InputMethod.Category" enum="InputMethodCategory">
+ <owner>shuchen@chromium.org</owner>
+ <summary>
+ The breakdown of input method usage by input method category. Recorded when
+ the system changes the current input method.
+ </summary>
+</histogram>
+
+<histogram name="InputMethod.CommitLength">
+ <owner>shuchen@chromium.org</owner>
+ <summary>The number of characters committed with composition text.</summary>
+</histogram>
+
+<histogram name="InputMethod.ID">
+ <owner>shuchen@chromium.org</owner>
+ <summary>
+ The breakdown of input method usage by input method IDs. Recorded when the
+ user presses keys on physical or on-screen keyboard.
+ </summary>
+</histogram>
+
<histogram name="Installer.AttemptsCount.Total" units="count">
<owner>zeuthen@chromium.org</owner>
<summary>
@@ -43496,6 +43563,35 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</int>
</enum>
+<enum name="IMECommitType" type="int">
+ <int value="0" label="X -&gt; X(0)">
+ Types X, commits X as the top suggestion.
+ </int>
+ <int value="1" label="X -&gt; Y(0)">
+ Types X, commits Y as the top suggestion.
+ </int>
+ <int value="2" label="X -&gt; X(1)">
+ Types X, commits X as the non-top suggestion.
+ </int>
+ <int value="3" label="X -&gt; Y(1)">
+ Types X, commits Y as the non-top suggestion.
+ </int>
+ <int value="4" label="Prediction">Commits a prediction suggestion.</int>
+ <int value="5" label="Revert">
+ Reverts the previous auto-corrected and committed word.
+ </int>
+</enum>
+
+<enum name="IMEVKLayout" type="int">
+ <int value="0" label="Compact"/>
+ <int value="1" label="CompactSymbol"/>
+ <int value="2" label="CompactMore"/>
+ <int value="3" label="Full"/>
+ <int value="4" label="A11y"/>
+ <int value="5" label="Handwriting"/>
+ <int value="6" label="Emoji"/>
+</enum>
+
<enum name="ImporterType" type="int">
<int value="0" label="Unknown"/>
<int value="1" label="IMPORTER_METRICS_IE">IE (Windows-only)</int>
@@ -43551,6 +43647,16 @@ Therefore, the affected-histogram name has to have at least one dot in it.
<int value="4" label="Script"/>
</enum>
+<enum name="InputMethodCategory" type="int">
+ <int value="0" label="UNK"/>
Ilya Sherman 2014/09/16 21:51:48 nit: "Unknown"
Shu Chen 2014/09/17 15:17:28 Done.
+ <int value="1" label="XKB"/>
+ <int value="2" label="CHINESE"/>
+ <int value="3" label="JAPANESE"/>
+ <int value="4" label="KOREAN"/>
+ <int value="5" label="M17N"/>
+ <int value="6" label="T13N"/>
Ilya Sherman 2014/09/16 21:51:49 I would at least include on-hover text that expand
Shu Chen 2014/09/17 15:17:28 Done.
+</enum>
+
<enum name="InstantControllerEvent" type="int">
<int value="0" label="URL_ADDED_TO_BLACKLIST"/>
<int value="1" label="URL_REMOVED_FROM_BLACKLIST"/>
@@ -52796,6 +52902,35 @@ To add a new entry, add it with any value and run test to compute valid value.
<affected-histogram name="PLT.BeginToFinish_NormalLoad"/>
</histogram_suffixes>
+<histogram_suffixes name="IMEAutoCorrect" separator=".">
+ <suffix name="AC0" label="The auto-correct level is 0"/>
+ <suffix name="AC1" label="The auto-correct level is 1"/>
+ <suffix name="AC2" label="The auto-correct level is 2"/>
+ <affected-histogram name="IME.Commit.Index.FR"/>
+ <affected-histogram name="IME.Commit.Index.US"/>
+ <affected-histogram name="IME.Commit.Type.FR"/>
+ <affected-histogram name="IME.Commit.Type.US"/>
+</histogram_suffixes>
+
+<histogram_suffixes name="IMEMajorNames" separator=".">
+ <suffix name="US" label="The US keyboard input method"/>
+ <suffix name="FR" label="The French keyboard input method"/>
+ <suffix name="Pinyin" label="The Chinse Pinyin input method"/>
+ <affected-histogram name="IME.Commit.Index"/>
+ <affected-histogram name="IME.Commit.Type"/>
+</histogram_suffixes>
+
+<histogram_suffixes name="IMEVKLatency" separator=".">
+ <suffix name="BackgroundSettingsFetched"
+ label="Latency for settings fetched from background"/>
+ <suffix name="HtmlLoaded" label="Latency for the page is loaded"/>
+ <suffix name="KeyboardCreated" label="Latency for the keyboard is created"/>
+ <suffix name="KeyboardShown" label="Latency for keyboard is shown"/>
+ <suffix name="KeysetLoaded" label="Latency for keyset config is loaded"/>
+ <suffix name="LayoutLoaded" label="Latency for layout definition is loaded"/>
+ <affected-histogram name="IME.VirtualKeyboard.InitLatency"/>
+</histogram_suffixes>
+
<histogram_suffixes name="IndexedDBLevelDBErrnoMethods" separator=".">
<suffix name="NewLogger" label="ChromiumEnv::NewLogger"/>
<suffix name="NewSequentialFile" label="ChromiumEnv::NewSequentialFile"/>

Powered by Google App Engine
This is Rietveld 408576698