Hello,
ADB commands and ADB Shell commands work on all Android devices regardless of the device model or manufacturer.
Before testing, have you done the following things?
- Enable USB Debugging in Developer Options.
- Download Android SDK Platform Tools (ADB & Fastboot).
- Authorize ADB Commands on Android.
In my testing, the framerate data is updated only when the screen is changed.
For example, if you have a list, and you don't scroll it, you will only see limited framerate data.
The framestats information and frame time-consuming information are usually collected every 2s (120 frames at a time, 16ms per frame, which takes about 2s). In order to precisely control the time window, for example, to limit the data to a specific animation, you can reset all counters and re-collect the data.
adb shell dumpsys gfxinfo < PACKAGE_NAME > reset
The same applies to data that needs to be captured less than 2s.
Best Regards,
Alec Liu.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.