no more profiling compile

This commit is contained in:
le vieux 2020-11-25 14:38:39 +01:00
parent 532bf5f0fc
commit e17232f29c
4 changed files with 12 additions and 7 deletions

View File

@ -3,7 +3,7 @@
# et de tout le crap...
#
COPT = -g -pg -fpic -no-pie -Wall -DDEBUG_LEVEL=0 -Werror=parentheses
COPT = -g -fpic -no-pie -Wall -DDEBUG_LEVEL=0 -Werror=parentheses
LIBS = ../libfloatimg.a -lpnglite -lm
OBJS = fonctions.o sfx.o crapulator.o glitches.o metriques.o

View File

@ -14,8 +14,8 @@
int verbosity;
#define PNG "out.png"
#define W 800
#define H 600
#define W 512
#define H 512
#define LMAX 233.333
#define TIMER 1
@ -26,7 +26,8 @@ FloatImg image;
char buff[1000];
double debut, fin;
float omega;
verbosity = 1;
verbosity = 2;
fimg_print_version(1);
@ -36,10 +37,12 @@ if (foo) {
exit(1);
}
fimg_printhead(&image);
srand(getpid());
debut = fimg_timer_set(TIMER);
for (iter=0; iter<72; iter++) {
for (iter=0; iter<127; iter++) {
fimg_vdeg_a(&image, LMAX);
@ -62,6 +65,8 @@ for (iter=0; iter<72; iter++) {
fin = fimg_timer_set(TIMER);
fprintf(stderr, "elapsed %f\n", fin-debut);
fimg_destroy(&image);
return 0;
}

View File

@ -1,6 +1,6 @@
#---------------------------------------------------------------
COPT = -Wall -fpic -g -pg -no-pie -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 -pg -no-pie -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 \