summaryrefslogtreecommitdiff
path: root/compiler/optimizing/code_generator.cc
diff options
context:
space:
mode:
author Mythri Alle <mythria@google.com> 2023-01-18 16:31:00 +0000
committer Mythri Alle <mythria@google.com> 2023-01-20 11:28:36 +0000
commitfbf4bd2f8d565e0e37312fa7bffbc387b8070010 (patch)
tree126c18539666f1d16f80abbf5625268149133c1f /compiler/optimizing/code_generator.cc
parent53720d3c86679ddc963ca66e92750cc96b3aa0aa (diff)
Extend flags passed to Trace::Start to also specify the clock source
We should enable users of method tracing to choose the clock source. Earlier the clock source could only be chosen at the boot time and wasn't very useful. This CL extends the flags that's already used by the method profilers to specify the clock source. The clock source could be wall clock, thread cpu or both. Thread cpu is an expensive operation and hence we should enable it only when requested. Drive-by fix: Also expose interval from Trace, so we can use it in the post zygote hooks. Bug: 259258187 Test: art/test.py Change-Id: I6850fe2dc90d9d1e7f9408b5fd4bfbf390bc7ea3
Diffstat (limited to 'compiler/optimizing/code_generator.cc')
0 files changed, 0 insertions, 0 deletions