commit | 298e7d70445ab6a0a12f16ce31ef05900ebc3e2f | [log] [tgz] |
---|---|---|
author | Kevin Jeon <kevinjeon@google.com> | Thu Mar 07 16:11:19 2024 -0500 |
committer | Kevin Jeon <kevinjeon@google.com> | Thu Mar 07 16:11:19 2024 -0500 |
tree | be64d34cc06acec385817c3b67e95f317892f354 | |
parent | d0658959ecc48e3d01582df907574cbb0347276b [diff] |
Update duration calculation in AppProfiler This change replaces currentThreadTimeMillis() calls in AppProfiler's collectPssInBackground/collectRssInBackground with uptimeMillis(). This should be less expensive, while still calculating the same duration. Test: build, flash, grab bug report and verify that dumpsys procstats still contains PSS/RSS duration info Bug: 296454553 Change-Id: I0c5f59c99e1e0bc71a42c0ea887b1a0a32c5dbd6