From 2cdb7dac819ba674a6a248a525b9e4a586db7f64 Mon Sep 17 00:00:00 2001 From: tonton Th Date: Sat, 7 Sep 2019 11:16:15 +0200 Subject: [PATCH] no more profiling --- funcs/Makefile | 2 +- lib/Makefile | 2 +- v4l2/Makefile | 2 +- v4l2/grabvidseq.c | 2 ++ 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/funcs/Makefile b/funcs/Makefile index 8f4e6c1..40a9821 100644 --- a/funcs/Makefile +++ b/funcs/Makefile @@ -1,6 +1,6 @@ #--------------------------------------------------------------- -COPT = -Wall -fpic -g -no-pie -pg -DDEBUG_LEVEL=0 +COPT = -Wall -fpic -g -no-pie -DDEBUG_LEVEL=0 DEPS = ../floatimg.h Makefile OBJS = fimg-png.o fimg-tiff.o misc-plots.o filtrage.o utils.o diff --git a/lib/Makefile b/lib/Makefile index 278f36c..308e155 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -2,7 +2,7 @@ # building the base library # -COPT = -Wall -fpic -g -no-pie -pg -DDEBUG_LEVEL=0 +COPT = -Wall -fpic -g -no-pie -DDEBUG_LEVEL=0 OBJS = fimg-core.o fimg-pnm.o fimg-file.o fimg-math.o \ fimg-timers.o operators.o fimg-2gray.o DEPS = Makefile ../floatimg.h diff --git a/v4l2/Makefile b/v4l2/Makefile index ace84c9..fe6c561 100644 --- a/v4l2/Makefile +++ b/v4l2/Makefile @@ -1,6 +1,6 @@ -COPT = -Wall -fpic -g -pg -no-pie -DDEBUG_LEVEL=1 +COPT = -Wall -fpic -g -no-pie -DDEBUG_LEVEL=1 DEPS = ../floatimg.h ../libfloatimg.a Makefile all: grabvidseq t diff --git a/v4l2/grabvidseq.c b/v4l2/grabvidseq.c index fe6c0dd..f88dfad 100644 --- a/v4l2/grabvidseq.c +++ b/v4l2/grabvidseq.c @@ -290,6 +290,8 @@ for (i = 0; i < nbre_capt; i++) { xioctl(fd, VIDIOC_QBUF, &buf); } +puts(""); fflush(stdout); + t_final = fimg_timer_get(0); fprintf(stderr, "pid %d : elapsed %g s -> %.2f fps\n", getpid(), t_final, (double)nbre_capt / t_final);