summaryrefslogtreecommitdiff
path: root/example-scripts/misc/perf.sh
blob: c20f10b1c2f7ecbc6d9091a1afbeb52d9b8af643 (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. ../gstreamer/source-videotestsrc-as-cam1.sh >/dev/null 2>/dev/null &
  8. ../gstreamer/source-videotestsrc-as-cam2.sh >/dev/null 2>/dev/null &
  9. ../gstreamer/source-videotestsrc-as-grabber.sh >/dev/null 2>/dev/null &
  10. ../gstreamer/source-videotestsrc-as-background-loop.sh >/dev/null 2>/dev/null &
  11. sudo perf top -g -p $PID
  12. kill $PID
  13. wait