summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/DrawFrameTask.cpp
diff options
context:
space:
mode:
authorRafal Slawik <rslawik@google.com>2021-02-16 18:54:11 +0000
committerRafal Slawik <rslawik@google.com>2021-02-22 10:37:58 +0000
commite7f1410a90a00c97467408f6486d64aa58bf13d0 (patch)
treefa9d7f4667b046307fcb8378b1cd093d34ebd727 /libs/hwui/renderthread/DrawFrameTask.cpp
parent2441a6bb3a825c8c823ad8b75f9d4604baf93a9d (diff)
Manage time_in_state tracking from one place
Move functionality related to CPU time_in_state tracking to the KernelCpuBpfTracking class: - when to attach the eBPF program to start tracking - provide available CPU frequencies - provide CPU cluster (policy) information - unify the interface of KernelCpuTotalBpfMapReader with other readers This removes the dependency on the power profile when reading the information about available frequencies and clusters. It also reduces the code duplication for transforming that information in StatsPullAtomService. Bug: 179485697 Test: existing tests pass Test: atest CpuStatsTests Test: cmd stats pull-source 10010 Test: cmd stats pull-source 10095 Test: cmd stats pull-source 10096 Test: cmd stats pull-source 10098 Test: atest FrameworksCoreTests Change-Id: I17041014343da167b8bdf027ad83887e78ba5c2d
Diffstat (limited to 'libs/hwui/renderthread/DrawFrameTask.cpp')
0 files changed, 0 insertions, 0 deletions