Simple ION_heap size watcher/logger

This can be used to (roughly) correlate NNAPI usage with ION_heap size.

Note that systrace is not reliable if the device runs out of memory
while logcat is typically still reliable.

Bug: 112833012
Test: run manually and observer logcat, systrace
Change-Id: Ic8a65c380d2b20fe3f40e882c4317438e5c92778
Merged-In: Ic8a65c380d2b20fe3f40e882c4317438e5c92778
(cherry picked from commit e76bf3fe8671c9abeca2afa0b62e838c601b2886)
3 files changed
tree: de35619baa80944b440d62818d9ae35746894182
  1. nn/
  2. .clang-format
  3. CleanSpec.mk
  4. OWNERS
  5. PREUPLOAD.cfg