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

Unified Diff: base/process_util.h

Issue 11345017: Create ash memory monitor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: New files Created 8 years, 2 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
Index: base/process_util.h
diff --git a/base/process_util.h b/base/process_util.h
index 3fb7e2baa95a173f377973e29ca81a11203d47fb..d1f090022f1f43e269d0479a678be729b3561d4e 100644
--- a/base/process_util.h
+++ b/base/process_util.h
@@ -816,6 +816,10 @@ struct BASE_EXPORT SystemMemoryInfoKB {
int active_file;
int inactive_file;
int shmem;
+
+ // Gem data will be -1 if not supported.
+ int gem_objects;
+ int64 gem_size;
};
// Retrieves data from /proc/meminfo about system-wide memory consumption.
// Fills in the provided |meminfo| structure. Returns true on success.

Powered by Google App Engine
This is Rietveld 408576698