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