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

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: Changes from jar's comments. 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..4843865e930d003ea0939b46b3826679f1f45a39 100644
--- a/content/gpu/gpu_info_collector_win.cc
+++ b/content/gpu/gpu_info_collector_win.cc
@@ -136,12 +136,12 @@ 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_CUSTOM_COUNTS("GPU.WinSAT.OverallScore2",
+ stats.overall * 10, 10, 200, 50);
+ UMA_HISTOGRAM_CUSTOM_COUNTS("GPU.WinSAT.GraphicsScore2",
+ stats.graphics * 10, 10, 200, 50);
+ UMA_HISTOGRAM_CUSTOM_COUNTS("GPU.WinSAT.GamingScore2",
+ stats.gaming * 10, 10, 200, 50);
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