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

Unified Diff: content/gpu/gpu_info_collector_win.cc

Issue 10828165: Refine WinSAT histogram bounds and rescale so the results are integers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/gpu_info_collector_win.cc
diff --git a/content/gpu/gpu_info_collector_win.cc b/content/gpu/gpu_info_collector_win.cc
index fa26c3571ece2f509543ad78616245528cd0edb5..57ee1d8619e1a64a5986b9af67ab3614923b0b90 100644
--- a/content/gpu/gpu_info_collector_win.cc
+++ b/content/gpu/gpu_info_collector_win.cc
@@ -136,12 +136,10 @@ content::GpuPerformanceStats RetrieveGpuPerformanceStats() {
if (stats.gaming == 0.0)
LOG(ERROR) << "Could not read gaming score from assessment results.";
- UMA_HISTOGRAM_CUSTOM_COUNTS("GPU.WinSAT.OverallScore",
- stats.overall, 0.0, 50.0, 50);
- UMA_HISTOGRAM_CUSTOM_COUNTS("GPU.WinSAT.GraphicsScore",
- stats.graphics, 0.0, 50.0, 50);
- UMA_HISTOGRAM_CUSTOM_COUNTS("GPU.WinSAT.GamingScore",
- stats.gaming, 0.0, 50.0, 50);
+ UMA_HISTOGRAM_ENUMERATION("GPU.WinSAT.OverallScore", stats.overall * 10, 200);
jar (doing other things) 2012/08/04 02:04:46 In addition to my comment below.... I was surpris
dtu 2012/08/06 21:41:47 Done.
+ UMA_HISTOGRAM_ENUMERATION("GPU.WinSAT.GraphicsScore",
+ stats.graphics * 10, 200);
+ UMA_HISTOGRAM_ENUMERATION("GPU.WinSAT.GamingScore", stats.gaming * 10, 200);
jar (doing other things) 2012/08/04 02:04:46 Best practice, when changing the parameters by whi
dtu 2012/08/06 21:41:47 Done.
UMA_HISTOGRAM_TIMES("GPU.WinSAT.ReadResultsFileTime",
base::TimeTicks::Now() - start_time);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698