From a320d3796009d7ba8b3e8c190c6d8b9844e40f30 Mon Sep 17 00:00:00 2001 From: tth Date: Mon, 28 Jan 2019 15:58:56 +0100 Subject: [PATCH] tuning --- serial/essai.sh | 2 +- serial/t.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/serial/essai.sh b/serial/essai.sh index 6c5d337..4b2d194 100755 --- a/serial/essai.sh +++ b/serial/essai.sh @@ -5,7 +5,7 @@ DATAFILE="foo.dat" TMPFILE="/tmp/dd2data" IMAGE="graphe.png" -NB_READ=25 +NB_READ=9500 ./t -vv -n ${NB_READ} -d ${DEVICE} | tee -a ${DATAFILE} diff --git a/serial/t.c b/serial/t.c index 69af8a7..4f4b2e3 100644 --- a/serial/t.c +++ b/serial/t.c @@ -30,7 +30,8 @@ for (count=0; count 1) { - fprintf(stderr, "getline #%d -> %d\n", count, foo); + fprintf(stderr, "getline #%d on %d -> %d\n", + count, iters, foo); fprintf(stderr, "%s\n", ligne); } foo = parse4values(ligne, 'T', datas);