diff options
author | dmurph@chromium.org <dmurph@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-02 18:48:42 +0000 |
---|---|---|
committer | dmurph@chromium.org <dmurph@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-02 18:48:42 +0000 |
commit | 4b12413f3d10034a860342999bba241cec20bffd (patch) | |
tree | 781953b2c08ea9304e6c28ad6c69faf71e38d104 | |
parent | 93439fb2aa609a62cdf2248c1c27e6306ebf5aec (diff) | |
download | chromium_src-4b12413f3d10034a860342999bba241cec20bffd.zip chromium_src-4b12413f3d10034a860342999bba241cec20bffd.tar.gz chromium_src-4b12413f3d10034a860342999bba241cec20bffd.tar.bz2 |
Lowered the min bound for gpu program cache timing histograms
Review URL: https://chromiumcodereview.appspot.com/10850021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149660 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | gpu/command_buffer/service/program_manager.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gpu/command_buffer/service/program_manager.cc b/gpu/command_buffer/service/program_manager.cc index 8e0adef..f1a0400 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); } |