Compare commits

..

2 Commits

Author SHA1 Message Date
tonton Th
2cdb7dac81 no more profiling 2019-09-07 11:16:15 +02:00
tonton Th
1957acf93f adding v4l2 progs to install kluge 2019-09-07 11:09:22 +02:00
5 changed files with 7 additions and 6 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

@ -7,6 +7,5 @@ cp tools/mkfimg tools/fimg2pnm tools/addtga2fimg \
tools/png2fimg tools/fimgstats \
/usr/local/bin
cp v4l2/grabvidseq v4l2/video-infos \
/usr/local/bin

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