summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorDaniel Colascione <dancol@google.com>2017-07-27 03:33:34 -0700
committerDaniel Colascione <dancol@google.com>2017-08-22 13:49:33 -0700
commit6c51810b2b64e1a26ee89f8ba1dd7000a936b6cf (patch)
tree0484ef01f44f298bd1f1f1e6fd71ac5a4d1abce6 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent0862898a34014389fa6657eb75098510c1bc0d7e (diff)
Use /proc/pid/smaps_rollup when available
smaps_rollup saves CPU time by having the kernel sum smaps fields before formatting each VMA's smaps; this way, user-space gets a single dummy smaps entry with pre-summed fields, making it much less expensive to measure PSS of large processes. This change makes the Android framework attempt to use smaps_rollup when available; we fall back to regular smaps when it isn't. Test: pssbench; see log message about using smaps_rollup Bug: 63439864 Change-Id: I66e207b02626e3287791e1348f35f58a8d94efe9
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions