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

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

Issue 1906633003: Implement fallback cache (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@blinkfontfallback
Patch Set: Add some checks and comments Created 4 years, 8 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 | « content/child/dwrite_font_proxy/font_fallback_win_unittest.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 e91215e18b9c350f62cdea0c5997469dcb8355d0..17502fdbdc1fb8e46f366a7ae198b6a15154e4d5 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -8394,6 +8394,21 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="DirectWrite.Fonts.Proxy.Fallback.CacheSize" units="Count">
+ <owner>kulshin@chromium.org</owner>
+ <summary>Records how many font families are in the fallback cache.</summary>
+</histogram>
+
+<histogram name="DirectWrite.Fonts.Proxy.FallbackResult"
+ enum="DirectWriteFontFallbackResult">
+ <owner>kulshin@chromium.org</owner>
+ <summary>
+ Measures the effectiveness of the font fallback proxy. This tracks if we
+ were able to find a suitable font to render the character, and whether an
+ IPC was necessary.
+ </summary>
+</histogram>
+
<histogram name="DirectWrite.Fonts.Proxy.LoaderType"
enum="DirectWriteFontLoaderType">
<owner>kulshin@chromium.org</owner>
@@ -65550,6 +65565,12 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<int value="1" label="Failed"/>
</enum>
+<enum name="DirectWriteFontFallbackResult" type="int">
+ <int value="0" label="Failed: no font matched"/>
+ <int value="1" label="Success: mapped from cache"/>
+ <int value="2" label="Success: mapped using IPC"/>
+</enum>
+
<enum name="DirectWriteFontLoaderType" type="int">
<int value="0" label="File: system font directory"/>
<int value="1" label="File: outside sandbox whitelist"/>
« no previous file with comments | « content/child/dwrite_font_proxy/font_fallback_win_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698