no more profiling compile

master
le vieux 2 years ago
parent 532bf5f0fc
commit e17232f29c
  1. 2
      Fonderie/Makefile
  2. 13
      Fonderie/t.c
  3. 2
      funcs/Makefile
  4. 2
      lib/Makefile

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

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

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

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

Loading…
Cancel
Save