summaryrefslogtreecommitdiffstats
path: root/content/gpu
diff options
context:
space:
mode:
authorjamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-25 00:05:17 +0000
committerjamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-25 00:05:17 +0000
commit3d662c390fa7908b4366e0b1a77298fc67178f3e (patch)
treeb34b318b9c048c8eb6b792b16ea414c3e5c4fdc2 /content/gpu
parentf99a712d8b469025ccafdbe006fcebd6544271f8 (diff)
downloadchromium_src-3d662c390fa7908b4366e0b1a77298fc67178f3e.zip
chromium_src-3d662c390fa7908b4366e0b1a77298fc67178f3e.tar.gz
chromium_src-3d662c390fa7908b4366e0b1a77298fc67178f3e.tar.bz2
Show gpu process stats in about:tcmalloc
BUG=123939 TEST=launch GPU process by navigating to a page requiring it. open about:tcmalloc. refresh. see GPU process memory information Review URL: http://codereview.chromium.org/10041017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133816 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/gpu')
-rw-r--r--content/gpu/gpu_child_thread.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/content/gpu/gpu_child_thread.h b/content/gpu/gpu_child_thread.h
index 0f39b42..8a41c8f 100644
--- a/content/gpu/gpu_child_thread.h
+++ b/content/gpu/gpu_child_thread.h
@@ -57,6 +57,10 @@ class GpuChildThread : public ChildThread {
void OnCrash();
void OnHang();
+#if defined(USE_TCMALLOC)
+ void OnGetGpuTcmalloc();
+#endif
+
#if defined(OS_WIN)
static void CollectDxDiagnostics(GpuChildThread* thread);
static void SetDxDiagnostics(GpuChildThread* thread,