aboutsummaryrefslogtreecommitdiff
path: root/example-scripts/misc/perf.sh
blob: e3471511935a8717b5426ce7e24ab5483b8fdf9d (plain)
  1. #!/bin/bash
  2. ../../voctocore/voctocore.py &
  3. PID=$!
  4. echo "PID=$PID"
  5. sleep 1
  6. ../control-server/set-composite-side-by-side-equal.sh >/dev/null 2>/dev/null
  7. ../ffmpeg/source-testvideo-as-cam1.sh >/dev/null 2>/dev/null &
  8. ../ffmpeg/source-testvideo-as-cam2.sh >/dev/null 2>/dev/null &
  9. sudo perf top -g -p $PID
  10. kill $PID
  11. wait