1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-17 23:00:38 +02:00

atrf-path/gui.c (tstart, tstop): commented out benchmarking code

This commit is contained in:
Werner Almesberger 2011-04-13 20:40:26 -03:00
parent c86ce307e2
commit 9e3d17460a

View File

@ -142,6 +142,8 @@ static void clear(SDL_Surface *s)
/* --- temporarily, for optimizing --- */ /* --- temporarily, for optimizing --- */
#if 0
#include <sys/time.h> #include <sys/time.h>
@ -168,6 +170,13 @@ static void tstop(void)
fprintf(stderr, "%.3f\n", t()-t0); fprintf(stderr, "%.3f\n", t()-t0);
} }
#else
static void tstart(void) {}
static void tstop(void) {}
#endif
int gui(const struct sweep *sweep, int sweeps) int gui(const struct sweep *sweep, int sweeps)
{ {