Add a C++ equivalent of Android's TimingLogger, and use it for the heap.

This also changes us over to one big stats update at the end of sweeping,
like Dalvik, rather than recording every single free individually.

Change-Id: Ib8e2a83d41d36e35e154183a4e173e915af79ae9
9 files changed
tree: 81fdf8690b0387e6535c85d11e24c2cc7b45cef3
  1. build/
  2. oat_process/
  3. oat_runtime/
  4. src/
  5. test/
  6. tools/
  7. Android.mk