Skip to content
Commit 4af4b730 authored by Mythri Alle's avatar Mythri Alle
Browse files

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: I23a01ff91e1a5c7e8a39339d06d0bfad8a6c4c37
parent c6a55488
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment