diff options
author | Eric Holk <eholk@google.com> | 2020-09-30 11:42:34 -0700 |
---|---|---|
committer | Eric Holk <eholk@google.com> | 2020-10-08 15:59:51 -0700 |
commit | 1cd030f76e6ee07888aadca25ba24119fefb31b8 (patch) | |
tree | cb5992d5a5da66b1b1d967b48ec3d2892cda52bb /test/MultiDexModifiedSecondary/Second.java | |
parent | c4adf54117b96a34df228c83127d0986a69dc198 (diff) |
[metrics] Add timer conveniences
This adds convenience timers for each of the metrics. The timer's can be
backed by a Counter, in which case the Counter will store cumulative
time elapsed, or by a Histogram, in which case the timer will increment
a bucket based on the time between a particular start/stop pair.
Timers can either be manually started and stopped, or can be used
automatically in an RAII manner.
Bug: 170149255
Test: m test-art-host-gtest-art_libartbase_tests
Change-Id: I4fc77e35f3e7b67c12fc004b72bf4fe177dc3151
Diffstat (limited to 'test/MultiDexModifiedSecondary/Second.java')
0 files changed, 0 insertions, 0 deletions