From 5d34aac50cce288a4ab9efb8ce4ebf2ad53974ea Mon Sep 17 00:00:00 2001 From: Tonton Th Date: Sat, 11 Jan 2025 20:37:54 +0100 Subject: [PATCH] can now take a sequence name --- tools/plot-timing.sh | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/tools/plot-timing.sh b/tools/plot-timing.sh index 6b59da4..d2c3600 100755 --- a/tools/plot-timing.sh +++ b/tools/plot-timing.sh @@ -8,7 +8,14 @@ IMAGE="timing.png" echo ; figlet "plot timing" ; echo wc WS/mp4.timing | tee -a WS/log -grep "passage" WS/mp4.timing | awk ' \ +if [ $# == 1 ] +then + sequence=$1 +else + sequence="escadrille" +fi + +grep $sequence WS/mp4.timing | tail -3600 | awk ' \ BEGIN { \ nbrames=360; \ for (foo=0; foo