diff options
| author | 2024-06-07 10:27:24 -0700 | |
|---|---|---|
| committer | 2024-09-19 09:42:58 -0700 | |
| commit | 1e9ccf55d410e668f2437dc61025831f424a1d67 (patch) | |
| tree | 9d65286cd28f91c6a3cf7b0ecaca695da30a12c6 /libs/androidfw/AttributeResolution.cpp | |
| parent | fddf3266072bd64d93e59046612fa6459508ad98 (diff) | |
Add bitmaps/native allocation metrics to 'dumpsys meminfo'
Bug: 331243037
Flag: com.android.libcore.native_metrics
Add metrics for Bitmaps, HardwareBuffer, and other objects with
native allocations associated to 'dumpsys meminfo'.
E.g.
$ adb shell dumpsys meminfo com.google.android.GoogleCamera
...
Native Allocations
Count Total(kB)
------ ------
Bitmap (malloced): 31 6570
Bitmap (nonmalloced): 1 2976
HardwareBuffer: 5 3681
Others (malloced): 4133 391
Others (nonmalloced): 391 244
Change-Id: Ifa7dcc96806617cf378001b02b20a27208e0fbff
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions