Guest User

Watch SGS4 SGX Clock Over and Over

a guest
Jul 30th, 2013
1,266
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2.  
  3. while [ 1 ];
  4. do
  5. clk=$(./adb shell cat /sys/module/pvrsrvkm/parameters/sgx_gpu_clk)
  6.  
  7. if [[ $clk > 481 ]]
  8. then
  9. echo "Clock is over 480"
  10. fi
  11.  
  12. echo $clk
  13. sleep 1
  14. done
RAW Paste Data