no more profiling

This commit is contained in:
tonton Th 2019-09-07 11:16:15 +02:00
parent 1957acf93f
commit 2cdb7dac81
4 changed files with 5 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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);