SHARE
TWEET

Untitled

a guest Sep 11th, 2019 79 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Setup target
  2. for p in $(find /sys/devices/system/cpu/cpufreq/ -name 'policy*'); do
  3.     echo schedutil > $p/scaling_governor
  4.     cat $p/cpuinfo_max_freq > $p/scaling_min_freq
  5. done
  6. echo 0 > /sys/kernel/debug/tracing/options/sleep-time
  7. echo nop > /sys/kernel/debug/tracing/current_tracer
  8. echo 1 > /sys/kernel/debug/tracing/function_profile_enabled
  9.  
  10. # Run rt-app workload
  11. /data/local/tmp/bin/rt-app /data/local/tmp/devlib-target/rta_rampdown.json
  12.  
  13. # Report results
  14. cat /sys/kernel/debug/tracing/trace_stat/function0 | head -1
  15. for i in $(seq 0 7); do
  16.     cat /sys/kernel/debug/tracing/trace_stat/function$i | grep select_task_rq_fair
  17. done
  18.  
  19. echo 0 > /sys/kernel/debug/tracing/function_profile_enabled
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top