diff options
| author | 2024-03-07 16:11:19 -0500 | |
|---|---|---|
| committer | 2024-03-07 16:11:19 -0500 | |
| commit | 298e7d70445ab6a0a12f16ce31ef05900ebc3e2f (patch) | |
| tree | be64d34cc06acec385817c3b67e95f317892f354 /libs/hwui/FrameInfoVisualizer.cpp | |
| 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
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions