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