Last active
July 21, 2023 08:11
-
-
Save AndroPlus-org/149f1473428a9dde8d63ddf59ba1122e to your computer and use it in GitHub Desktop.
Show FPS on OnePlus 7 Pro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Example of the case where you want to get 50 repetitions | |
max=50 | |
for ((i=0; i < $max; i++)); do | |
adb shell su -c "cat /sys/devices/platform/soc/ae00000.qcom,mdss_mdp/drm/card0/sde-crtc-0/measured_fps" | |
echo -n -e "\n" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use this command to search path:
find /sys 2> /dev/null -iname "measured_fps" -type f