Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9023599f authored by Rajeev Kumar's avatar Rajeev Kumar
Browse files

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
parent 1e5acd3d
Loading
Loading
Loading
Loading
+24 −6
Original line number Diff line number Diff line
@@ -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;
}

/*