diff options
| author | Rajeev Kumar <rajekumar@google.com> | 2018-01-29 11:06:48 -0800 |
|---|---|---|
| committer | Rajeev Kumar <rajekumar@google.com> | 2018-01-29 11:06:48 -0800 |
| commit | 9023599fc3dd7694afa92ec00bd5b09500b9cfeb (patch) | |
| tree | 8caf426b2d8b67d98ac1f3e16835594d6eb728f7 | |
| parent | 1e5acd3d920f7fb0bff8070dc9f191782941e3de (diff) | |
Split usage_in_bytes into following separate fields:
1. rss_in_bytes
2. cache_in_bytes
3. swap_in_bytes
See: go/android-p-memory-metrics
Bug: 72177881
Test: Manual
Change-Id: I8d88aa24aac500b9e5cb4e40b9af9dab3af7113b
| -rw-r--r-- | cmds/statsd/src/atoms.proto | 30 |
1 files changed, 24 insertions, 6 deletions
diff --git a/cmds/statsd/src/atoms.proto b/cmds/statsd/src/atoms.proto index 27fa67212af8..b32af027f2fd 100644 --- a/cmds/statsd/src/atoms.proto +++ b/cmds/statsd/src/atoms.proto @@ -1214,8 +1214,14 @@ message AppStartMemoryStateCaptured { // # of major page-faults optional int64 pgmajfault = 5; - // RSS+CACHE(+SWAP) - optional int64 usage_in_bytes = 6; + // RSS + optional int64 rss_in_bytes = 6; + + // CACHE + optional int64 cache_in_bytes = 7; + + // SWAP + optional int64 swap_in_bytes = 8; } /* @@ -1237,8 +1243,14 @@ message ProcessMemoryState { // # of major page-faults optional int64 pgmajfault = 5; - // RSS+CACHE(+SWAP) - optional int64 usage_in_bytes = 6; + // RSS + optional int64 rss_in_bytes = 6; + + // CACHE + optional int64 cache_in_bytes = 7; + + // SWAP + optional int64 swap_in_bytes = 8; } /* @@ -1277,8 +1289,14 @@ message LmkKillOccurred { // # of major page-faults optional int64 pgmajfault = 5; - // RSS+CACHE(+SWAP) - optional int64 usage_in_bytes = 6; + // RSS + optional int64 rss_in_bytes = 6; + + // CACHE + optional int64 cache_in_bytes = 7; + + // SWAP + optional int64 swap_in_bytes = 8; } /* |
