summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimationUtil.cpp
diff options
context:
space:
mode:
author Tim Murray <timmurray@google.com> 2023-02-27 16:59:15 -0800
committer Tim Murray <timmurray@google.com> 2023-02-27 17:04:51 -0800
commit108485159cb030df4e5f35ea3de940865cf82496 (patch)
tree8359d73c7101159cc5290b9ad9c4657cb9eacda4 /cmds/bootanimation/BootAnimationUtil.cpp
parentf19df858faf9cf841debc95a0c0feb3a7f1b81f0 (diff)
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
Diffstat (limited to 'cmds/bootanimation/BootAnimationUtil.cpp')
0 files changed, 0 insertions, 0 deletions