summaryrefslogtreecommitdiff
path: root/meme
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2014-09-12 12:52:52 -0300
committerWerner Almesberger <werner@almesberger.net>2014-09-12 12:52:52 -0300
commit31a859415efab1e8a93eb0349adabc018b74d91e (patch)
tree52d9972fccaec10c048eee46ee2965ec8e01ccc4 /meme
parent1828a5a3c2391dbb9892f599dec669b140682246 (diff)
downloadmisc-31a859415efab1e8a93eb0349adabc018b74d91e.tar.gz
misc-31a859415efab1e8a93eb0349adabc018b74d91e.tar.bz2
misc-31a859415efab1e8a93eb0349adabc018b74d91e.zip
meme/gui.c (find_nearest): comment out time measurement
Diffstat (limited to 'meme')
-rw-r--r--meme/gui.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/meme/gui.c b/meme/gui.c
index 3ed56d9..ab143b2 100644
--- a/meme/gui.c
+++ b/meme/gui.c
@@ -315,12 +315,12 @@ static const struct vertex *find_nearest(int x, int y)
.y = y,
.best = NULL,
};
- struct time t;
+// struct time t;
- time_start(&t);
+// time_start(&t);
vertex_foreach_const(proximity_fn, &p);
- time_stop(&t);
- fprintf(stderr, "%.3f\t", time_ms(&t)/1000.0);
+// time_stop(&t);
+// fprintf(stderr, "%.3f\t", time_ms(&t)/1000.0);
return p.best;
}