aboutsummaryrefslogtreecommitdiff
path: root/vm/compiler/codegen/arm/CodegenDriver.cpp
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@android.com>2011-07-19 19:01:05 -0700
committerJeff Brown <jeffbrown@android.com>2011-07-19 19:09:21 -0700
commit9f640af99bebc6e96f6e1e9903557e2c8f567483 (patch)
treedfaf8e86ed9a0e6270a69a4e89f00ae314968749 /vm/compiler/codegen/arm/CodegenDriver.cpp
parentbf62959bd8382e458a1aee6b491cb7da703984fb (diff)
Add a dual clock profiler tracing mode.
Dalvik previously supported using either the thread-cpu clock or the real time clock as the timebase for profiler traces. This change adds a dual clock mode where both thread-cpu time and real time timestamps are collected. Using dual clock mode significantly improves TraceView ability to accurately reconstruct the global timeline of events, particularly on SMP systems. For now, thread-cpu mode remains the default. Dual clock mode can be enabled by running the following command and restarting the system server. adb shell setprop dalvik.vm.extra-opts -Xprofile:dualclock Change-Id: I14db2ae93325ac01efcc8ed02e8747cc0e834e29
Diffstat (limited to 'vm/compiler/codegen/arm/CodegenDriver.cpp')
0 files changed, 0 insertions, 0 deletions