Fixes for timing logger and histogram.

Reorder when the index is checked in Percentile to avoid reading from a
negative index.
Add missing copyright to histogram unit test.
Switch histogram test to use UniquePtr rather than new/delete (MeanTest had
missed the delete).
Make timing/cumulative logger fields that can be const const. Document SetName
for cumulative logger. Place the cumulative logger's std::string lock name in
the cumulative logger so its lifespan is clearly the same.

Change-Id: I4056c6b6ee8efdb73f7b10f690fc9d959fd4a569
4 files changed
tree: c41cc1c5ef93b149b172bde05d3654b0985f65f2
  1. build/
  2. jdwpspy/
  3. src/
  4. test/
  5. tools/
  6. .gitignore
  7. Android.mk