summaryrefslogtreecommitdiff
path: root/test/MultiDexModifiedSecondary/Second.java
diff options
context:
space:
mode:
author Mythri Alle <mythria@google.com> 2024-03-20 17:06:51 +0000
committer Mythri Alle <mythria@google.com> 2024-03-28 17:57:18 +0000
commit4d45b8613f650acb36df41a6e970a9694ae464a2 (patch)
tree429636f008c6c1edf1f316fb98f164dddbe0821a /test/MultiDexModifiedSecondary/Second.java
parent403cf5cb88d2eafb790398a05e300c0b2dc807c2 (diff)
Use monotonic clock to record the start time of the trace
Android Studio uses monotonic clock timestamps obtained from other places to match against the timestamps provided by ART's method traces to construct a CPU profile. So specify the initial start time obtained from the monotonic timer. The rest of the timestamps are time elapsed from this start point and it is okay to use the timestamp counters to compute the elapsed time. Both monotonic clock and the timestamp counters give the same elapsed time from the given start time. Bug: 318052824 Test: art/test.py -t 2246 (cherry picked from https://android-review.googlesource.com/q/commit:e67193fe33f6aaf336715aab04bdca8bf95acdb6) Merged-In: I33ec06d951c2203111060c6e6100bfcfffdc4b83 Change-Id: I33ec06d951c2203111060c6e6100bfcfffdc4b83 Cherrypick a CL to fix Android Studio CPU profile tab
Diffstat (limited to 'test/MultiDexModifiedSecondary/Second.java')
0 files changed, 0 insertions, 0 deletions