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

Unified Diff: include/config/SkUserConfig.h

Issue 1652053004: Add Histogram Macros to Skia (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: Created 4 years, 11 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:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | include/core/SkHistogramLogging.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/config/SkUserConfig.h
diff --git a/include/config/SkUserConfig.h b/include/config/SkUserConfig.h
index ff8a5f31541eb821df212f5e2ecafff52dca2979..583ac51694d8a8b24394cf9b31b30523676e63ab 100644
--- a/include/config/SkUserConfig.h
+++ b/include/config/SkUserConfig.h
@@ -153,4 +153,12 @@
*/
//#define SK_PDF_USE_PATHOPS_CLIPPING
+/* Skia makes use of several histogram logging macros to trace the frequency
+ * of certain events. By default, Skia provides no-op versions of these
+ * macros in SkHistogramLogging.h. If a consumer has a histogram/metric
+ * collection backend, it may provide a custom header with their own
+ * definitions of these macros.
+ */
+//#define SK_HISTOGRAM_LOGGING_CUSTOM_SETUP_HEADER
bsalomon 2016/02/01 21:18:08 I believe Chrome already uses a custom SkUseConfig
ericrk 2016/02/01 21:58:33 hmmm... yeah, Chrome has an SkUserConfig file, tha
+
#endif
« no previous file with comments | « no previous file | include/core/SkHistogramLogging.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698