summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorConnor O'Brien <connoro@google.com>2019-09-24 14:58:29 -0700
committerBill Peckham <bpeckham@google.com>2020-10-23 12:20:52 -0700
commit73d94fe9e50aef9b24bc4646126c821758fc2f06 (patch)
treee5e22ae538212c2f33434bec7c84069304d56aaf /rs/java/android/renderscript/ProgramStore.java
parenteae9b3730e7489683264ee8eb2433fd4f76d2aad (diff)
Use bpf data when available for single-UID cpu stats
Update KernelSingleUidTimeReader to read BPF data rather than per-UID proc files when the BPF data is available. This is implemented by calling libtimeinstate functions via JNI. Extend KernelSingleUidTimeReaderTest to exercise both the BPF and proc file code paths. Bug: 138317993 Bug: 163003172 Test: KernelSingleUidTimerTest passes Test: no regression in BatteryStatsTests Change-Id: Ie962ddd9e30d96aa0fab6104a4164af9ad02f55e Signed-off-by: Connor O'Brien <connoro@google.com> (cherry picked from commit 103a7bb6e1db0b2dbd6bb3bdd88dfbaa904c537b)
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions