commit | f3dd37f5318e279949364bcc953fdd98dc2933ef | [log] [tgz] |
---|---|---|
author | Tri Vo <trong@google.com> | Tue Dec 17 10:09:47 2019 -0800 |
committer | Tri Vo <trong@google.com> | Tue Dec 17 10:13:37 2019 -0800 |
tree | f16afe84daeae973b8db7738052de29f06b8af84 | |
parent | 237ef08df418a777f717a5f3b04fd90d1db4ef67 [diff] |
suspend: add benchmarks Add benchmarks for acquireing wake locks and getting wake lock stats. Results on cuttlefish: -------------------------------------------------------------- Benchmark Time CPU Iterations -------------------------------------------------------------- BM_acquireWakeLock 37586 ns 26681 ns 25497 BM_getWakeLockStats 770001 ns 89569 ns 8756 Bug: 143284916 Test: SystemSuspendBenchmark Change-Id: Iaf96bff48a76dd448762d4a827160f5b2b4d4820