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

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

Issue 11667030: Add GPU memory usage contents browser test (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove controversial functionality Created 7 years, 11 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 | « content/content_tests.gypi ('k') | content/public/common/gpu_memory_stats.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/gpu_memory_stats.h
diff --git a/content/public/common/gpu_memory_stats.h b/content/public/common/gpu_memory_stats.h
index 5ae6e97d37884c00f846ba21c9656fb67bd8029e..e5e22f80b3fabac433be2adb71a07cde2e22a985 100644
--- a/content/public/common/gpu_memory_stats.h
+++ b/content/public/common/gpu_memory_stats.h
@@ -36,6 +36,12 @@ struct CONTENT_EXPORT GPUVideoMemoryUsageStats {
// A map of processes to their GPU resource consumption
ProcessMap process_map;
+
+ // The total amount of GPU memory allocated at the time of the request.
+ size_t bytes_allocated;
+
+ // The maximum amount of GPU memory ever allocated at once.
+ size_t bytes_allocated_historical_max;
};
} // namespace content
« no previous file with comments | « content/content_tests.gypi ('k') | content/public/common/gpu_memory_stats.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698