diff options
| author | 2023-01-27 17:08:41 +0000 | |
|---|---|---|
| committer | 2023-02-10 12:10:58 +0000 | |
| commit | c58be09d9273485c54d6a16defc42d9f26182b73 (patch) | |
| tree | 72a72931d374e9d3c275a90b8e5cbb73ce4dc548 /cmds/bootanimation/BootAnimation.cpp | |
| parent | b3238fc8a436400edc4f174da3a3bfbb753a8f97 (diff) | |
Add clock-type to choose how timestamps are provided when profiling
Add an option to am start-activity and am profile to be able to choose
the clock source for the timestamps. The clock source can be wall /
thread-cpu / dual. wall provides the wall clock timestamps which is
fast. thread-cpu provides the time the actual time thread was on cpu.
This is slow and should be only used when actually required. Dual
provides both these timestamps.
Bug: 259258187
Test: am start-activity --start-profiler --clock-type wall / thread-cpu
Change-Id: I719395d673c337f577ba5245814338e35d69c372
Merged-In: I23a01ff91e1a5c7e8a39339d06d0bfad8a6c4c37
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions