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

Skip to content
Commit 10848515 authored by Tim Murray's avatar Tim Murray
Browse files

AppProfiler: don't hold lock for CPU times

AppProfiler doesn't need to lock when calling getCpuTimeForPid or
getCpuDelayTimeForPid.

Additionally, ProcessCpuTracker is locking just for the sake of
avoiding a long[4] allocation, which might have been necessary in 2009
for dalvik but isn't a concern now.

Test: presubmit
Bug: 270905745
Change-Id: I585b6113734850ef200fa3faccc1f6decab9389d
parent f19df858
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment