From 39c8cb3a0e3813ef77c61c601d0028281c04ad2d Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Sun, 6 Dec 2015 20:28:02 +0100 Subject: [example-scripts] overhaul and test all example scripts, fixes #5 --- example-scripts/misc/perf.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 example-scripts/misc/perf.sh (limited to 'example-scripts/misc/perf.sh') diff --git a/example-scripts/misc/perf.sh b/example-scripts/misc/perf.sh new file mode 100755 index 0000000..e347151 --- /dev/null +++ b/example-scripts/misc/perf.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +../../voctocore/voctocore.py & +PID=$! +echo "PID=$PID" +sleep 1 +../control-server/set-composite-side-by-side-equal.sh >/dev/null 2>/dev/null +../ffmpeg/source-testvideo-as-cam1.sh >/dev/null 2>/dev/null & +../ffmpeg/source-testvideo-as-cam2.sh >/dev/null 2>/dev/null & +sudo perf top -g -p $PID +kill $PID +wait -- cgit v1.2.3