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

Unified Diff: cc/texture_uploader.cc

Issue 12041015: Use proper histogram macros for Renderer4 histograms. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | « cc/overdraw_metrics.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/texture_uploader.cc
diff --git a/cc/texture_uploader.cc b/cc/texture_uploader.cc
index bb4cdfe32e5eb82c1f78e78fe588a5fa8b678406..56e73472ca62c3a6c60492d60d2e83b2e50b168f 100644
--- a/cc/texture_uploader.cc
+++ b/cc/texture_uploader.cc
@@ -348,7 +348,8 @@ void TextureUploader::processQueries()
break;
unsigned usElapsed = m_pendingQueries.front()->value();
- HISTOGRAM_CUSTOM_COUNTS("Renderer4.TextureGpuUploadTimeUS", usElapsed, 0, 100000, 50);
+ UMA_HISTOGRAM_CUSTOM_COUNTS("Renderer4.TextureGpuUploadTimeUS",
+ usElapsed, 0, 100000, 50);
// Clamp the queries to saner values in case the queries fail.
usElapsed = std::max(1u, usElapsed);
« no previous file with comments | « cc/overdraw_metrics.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698