aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/perftest/etc/dpi_average.sh
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/perftest/etc/dpi_average.sh')
-rw-r--r--benchmarks/perftest/etc/dpi_average.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/benchmarks/perftest/etc/dpi_average.sh b/benchmarks/perftest/etc/dpi_average.sh
new file mode 100644
index 00000000..405d3ff6
--- /dev/null
+++ b/benchmarks/perftest/etc/dpi_average.sh
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+COUNTER=0
+WDIR=$PWD
+while [ $COUNTER -lt 10 ]; do
+
+ echo $WDIR
+ $( ./ndpiReader -i test.pcap >> $WDIR/dpi_dump.txt )
+ let COUNTER=COUNTER+1
+ echo "Run number: $COUNTER"
+
+done
+
+