-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathplot.sh
More file actions
executable file
·25 lines (20 loc) · 857 Bytes
/
plot.sh
File metadata and controls
executable file
·25 lines (20 loc) · 857 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# SPDX-FileCopyrightText: 2026 The Pion community <https://pion.ly>
# SPDX-License-Identifier: MIT
set -x
OUT_DIR="./out"
IMPLEMENTATIONS=(TestVnetRunnerABR TestVnetRunnerSimulcast)
for i in "${IMPLEMENTATIONS[@]}";
do
RUN="$i/VariableAvailableCapacitySingleFlow"
DIR="./vnet/data/$i/VariableAvailableCapacitySingleFlow"
OUT="$OUT_DIR/$RUN"
if [ -d "$DIR" ]
then
# TODO: Add capacity and config (for correct base timestamp)
mkdir -p $OUT
python3 plot.py --rtp-received $DIR/0_receiver_rtp.log --rtp-sent $DIR/0_sender_rtp.log --cc $DIR/0_cc.log --rtcp-received $DIR/0_sender_rtcp.log --rtcp-sent $DIR/0_receiver_rtcp.log -o $OUT/rates.png &
python3 plot.py --loss $DIR/0_sender_rtp.log $DIR/0_receiver_rtp.log -o $OUT/loss.png &
python3 plot.py --latency $DIR/0_sender_rtp.log $DIR/0_receiver_rtp.log -o $OUT/latency.png &
fi
done
wait