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

Unified Diff: gpu/command_buffer/service/program_manager.cc

Issue 10850021: Lowered the min bound for gpu program cache timing histograms (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 5 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: gpu/command_buffer/service/program_manager.cc
diff --git a/gpu/command_buffer/service/program_manager.cc b/gpu/command_buffer/service/program_manager.cc
index 8e0adef36ec25aeddc7fbed2acfe9a89638f1887..f1a0400f6650891a598712d0020ce8848c5a1316 100644
--- a/gpu/command_buffer/service/program_manager.cc
+++ b/gpu/command_buffer/service/program_manager.cc
@@ -394,7 +394,7 @@ void ProgramManager::DoCompileShader(ShaderManager::ShaderInfo* info,
info->FlagSourceAsCompiled(false);
UMA_HISTOGRAM_CUSTOM_COUNTS("GPU.ProgramCache.CompilationCacheHitTime",
(base::Time::Now() - before).InMicroseconds(),
- 100,
+ 0,
TimeDelta::FromSeconds(1).InMicroseconds(),
50);
return;
@@ -402,7 +402,7 @@ void ProgramManager::DoCompileShader(ShaderManager::ShaderInfo* info,
ForceCompileShader(info->source(), info, translator, feature_info);
UMA_HISTOGRAM_CUSTOM_COUNTS("GPU.ProgramCache.CompilationCacheMissTime",
(base::Time::Now() - before).InMicroseconds(),
- 100,
+ 0,
TimeDelta::FromSeconds(1).InMicroseconds(),
50);
}
@@ -548,14 +548,14 @@ bool ProgramManager::ProgramInfo::Link(ShaderManager* manager,
UMA_HISTOGRAM_CUSTOM_COUNTS(
"GPU.ProgramCache.BinaryCacheMissTime",
(base::Time::Now() - before_time).InMicroseconds(),
- 100,
- TimeDelta::FromSeconds(1).InMicroseconds(),
+ 0,
+ TimeDelta::FromSeconds(10).InMicroseconds(),
50);
} else if (cache) {
UMA_HISTOGRAM_CUSTOM_COUNTS(
"GPU.ProgramCache.BinaryCacheHitTime",
(base::Time::Now() - before_time).InMicroseconds(),
- 100,
+ 0,
TimeDelta::FromSeconds(1).InMicroseconds(),
50);
}
« 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