diff options
| author | 2017-04-28 10:34:50 -0700 | |
|---|---|---|
| committer | 2017-04-28 12:09:12 -0700 | |
| commit | 56a2ba0b0009b6a8db7c385489e5fef4c0d32d0a (patch) | |
| tree | bc69b149da66e6a6bfae945e7fe27cc1a8c7f12d /libs/gui/ConsumerBase.cpp | |
| parent | 03d95980a102c1b3e3dca3d45f0c4a6bb08ef102 (diff) | |
Set the atrace clock to boot when possible and mono otherwise.
Bug: 32379831
Test: Inspected the trace_clock while running atrace, without including the .rc file change:
$ adb shell
marlin:/ # cat /d/tracing/trace_clock
[local] global counter uptime perf mono boot
marlin:/ # atrace --async_start freq
capturing trace...
marlin:/ # cat /d/tracing/trace_clock
local global counter uptime perf mono [boot]
marlin:/ # atrace --async_stop > /dev/null
marlin:/ # cat /d/tracing/trace_clock
local global counter uptime perf mono [boot]
marlin:/ # exit
Test: Inspected the trace_clock while running atrace, after the .rc file change:
$ adb shell
marlin:/ # cat /d/tracing/trace_clock
local global counter uptime perf mono [boot]
marlin:/ # atrace --async_start freq
capturing trace...
marlin:/ # cat /d/tracing/trace_clock
local global counter uptime perf mono [boot]
Change-Id: I9ec88df109b311b90c9d88fe3a70f9ce090b4d15
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions