From a27a165404b22ce1ae5d9ac7c2e103903e6686ed Mon Sep 17 00:00:00 2001 From: tth Date: Mon, 10 May 2021 00:05:01 +0200 Subject: [PATCH] debug code added --- Fonderie/crapulator.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Fonderie/crapulator.c b/Fonderie/crapulator.c index 6458ef6..a4dcd5e 100644 --- a/Fonderie/crapulator.c +++ b/Fonderie/crapulator.c @@ -157,7 +157,7 @@ return retval; * processor. */ -#define DEBUG_THIS_CRAP 0 +#define DEBUG_THIS_CRAP 100 int crapulator(FloatImg *image, int idFx, float fval) { @@ -298,6 +298,8 @@ switch (idFx) { case CR_message: fprintf(stderr, "### msg from pid %d, fval=%f ###\n", getpid(), fval); + /* here, we can display stats ! */ + fimg_describe(image, "in crapulator"); retval = 0; break;