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