aboutsummaryrefslogtreecommitdiff
path: root/example-scripts/misc/benchmark.sh
blob: 2ca879cbb23a7c33bfd460fe1c1bcef08b64973f (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. pidstat -p $PID 1 &
  14. sleep 10
  15. kill $PID
  16. wait