diff options
author | jbauman@chromium.org <jbauman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-25 04:34:13 +0000 |
---|---|---|
committer | jbauman@chromium.org <jbauman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-25 04:34:13 +0000 |
commit | 527516c019a53b8417b3e4ba3612083efe4e29ce (patch) | |
tree | 2abf813b6719d55629b6a662e80361e8247948a9 /content/browser/gpu/gpu_process_host.cc | |
parent | 85488f2665b99d49b9cfe905275a4ee98f4d1fb5 (diff) | |
download | chromium_src-527516c019a53b8417b3e4ba3612083efe4e29ce.zip chromium_src-527516c019a53b8417b3e4ba3612083efe4e29ce.tar.gz chromium_src-527516c019a53b8417b3e4ba3612083efe4e29ce.tar.bz2 |
Add UMA histogram for whether the gpu process is using software rendering
BUG=110518
TEST=
Review URL: http://codereview.chromium.org/9290002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119002 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/gpu/gpu_process_host.cc')
-rw-r--r-- | content/browser/gpu/gpu_process_host.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/content/browser/gpu/gpu_process_host.cc b/content/browser/gpu/gpu_process_host.cc index a8db517..e73c006 100644 --- a/content/browser/gpu/gpu_process_host.cc +++ b/content/browser/gpu/gpu_process_host.cc @@ -587,6 +587,8 @@ bool GpuProcessHost::LaunchGpuProcess(const std::string& channel_id) { software_rendering_ = (cmd_line->GetSwitchValueASCII(switches::kUseGL) == "swiftshader"); + UMA_HISTOGRAM_BOOLEAN("GPU.GPUProcessSoftwareRendering", software_rendering_); + // If specified, prepend a launcher program to the command line. if (!gpu_launcher.empty()) cmd_line->PrependWrapper(gpu_launcher); |