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
Loading
Please register or sign in to comment