SHARE
TWEET

Watch SGS4 SGX Clock Over and Over

a guest Jul 30th, 2013 888 Never
  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
Top