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
This commit is contained in:
Rajeev Kumar
2018-01-29 11:06:48 -08:00
parent 1e5acd3d92
commit 9023599fc3

View File

@@ -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;
}
/*