From e2b830b537f905f0171925b661fe453a2cf8faf2 Mon Sep 17 00:00:00 2001 From: tTh Date: Sun, 11 Aug 2024 10:32:10 +0200 Subject: [PATCH] compute and display the call tree --- Lib/.gitignore | 1 + Lib/utility.sh | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100755 Lib/utility.sh diff --git a/Lib/.gitignore b/Lib/.gitignore index 3e34327..175a57e 100644 --- a/Lib/.gitignore +++ b/Lib/.gitignore @@ -1,3 +1,4 @@ *.png +cflow.txt diff --git a/Lib/utility.sh b/Lib/utility.sh new file mode 100755 index 0000000..d2c59ca --- /dev/null +++ b/Lib/utility.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +set -e + +SRC="testtga.c essais.c operat.c image.c effects.c tele_2.c calculs.c" +SRC="$SRC dither.c television.c" + +FLOW="cflow.txt" + +cflow --depth=5 -o $FLOW -m main --number $SRC + +less $FLOW