debug code added

This commit is contained in:
tth 2021-05-10 00:05:01 +02:00
parent c30e073abd
commit a27a165404

View File

@ -157,7 +157,7 @@ return retval;
* processor. * processor.
*/ */
#define DEBUG_THIS_CRAP 0 #define DEBUG_THIS_CRAP 100
int crapulator(FloatImg *image, int idFx, float fval) int crapulator(FloatImg *image, int idFx, float fval)
{ {
@ -298,6 +298,8 @@ switch (idFx) {
case CR_message: case CR_message:
fprintf(stderr, "### msg from pid %d, fval=%f ###\n", fprintf(stderr, "### msg from pid %d, fval=%f ###\n",
getpid(), fval); getpid(), fval);
/* here, we can display stats ! */
fimg_describe(image, "in crapulator");
retval = 0; retval = 0;
break; break;