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

Unified Diff: content/public/common/gpu_mem_stats.h

Issue 10702200: PyAuto test for GPU memory consumption (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated PyAuto test for GPU memory consumption. 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
« chrome/test/pyautolib/pyauto.py ('K') | « content/gpu/gpu_child_thread.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/gpu_mem_stats.h
diff --git a/content/public/common/gpu_mem_stats.h b/content/public/common/gpu_mem_stats.h
new file mode 100644
index 0000000000000000000000000000000000000000..426288f9c5cc328c15c30c8f0c341e69b8c1147d
--- /dev/null
+++ b/content/public/common/gpu_mem_stats.h
@@ -0,0 +1,27 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_PUBLIC_COMMON_MEM_STATS_H_
+#define CONTENT_PUBLIC_COMMON_MEM_STATS_H_
+
+#include "content/common/content_export.h"
+
+namespace content {
+
+struct CONTENT_EXPORT GpuMemStats {
+ GpuMemStats() :
+ total_bytes(0),
+ currently_allocated_bytes(0),
+ max_concurrently_allocated_bytes(0) {
+ }
+
+ uint64 total_bytes;
+ uint64 currently_allocated_bytes;
+ uint64 max_concurrently_allocated_bytes;
+};
+
+} // namespace content
+
+#endif // CONTENT_PUBLIC_COMMON_MEM_STATS_H_
+
« chrome/test/pyautolib/pyauto.py ('K') | « content/gpu/gpu_child_thread.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698