0

From the AOSP documentation you can measure the time to initial display by running your app using ADB:

adb shell am start -S -W com.example.app/.MainActivity

The output is as follows:

  • Starting: Intent
  • Activity: com.example.app/.MainActivity
  • ThisTime: 2044
  • TotalTime: 2044
  • WaitTime: 2054
  • Complete

My question is what is the actual mechanism inside ActivityManager (or ActivtiyTaskManager) that measures those times? If someone could point me to the actual source code or describe whats going on underneath it would be a great help.

FestiveHydra235
  • 473
  • 1
  • 7
  • 23

0 Answers0