OSDN Git Service

Add thread suspend histogram
authorMathieu Chartier <mathieuc@google.com>
Wed, 17 Dec 2014 22:56:47 +0000 (14:56 -0800)
committerMathieu Chartier <mathieuc@google.com>
Thu, 18 Dec 2014 00:03:58 +0000 (16:03 -0800)
commit70a596d61f8cf5b6447326c46c3386e0fbd5bfb5
treef7affe0a976165eb9ff789270d314463f6e36660
parente9231c0aecc013c61b6cf7f88a228204651d4d41
Add thread suspend histogram

Helps measure time to suspend.
Example output (maps after a few seconds):
suspend all histogram:  Sum: 2.806ms 99% C.I. 2us-1090.560us Avg: 43.843us Max: 1126us

Change-Id: I7bd9dd3b401fb3e3059e8718556d60910e541611
runtime/base/histogram-inl.h
runtime/base/histogram.h
runtime/gc/collector/garbage_collector.cc
runtime/gc/heap.cc
runtime/thread_list.cc
runtime/thread_list.h