]> git.pond.sub.org Git - empserver/blobdiff - include/path.h
Add performance statistics to path finder
[empserver] / include / path.h
index 3b0cc495e1223c973284b7be0a75c9e0becf9499..15ae099d66229a8ec4678e470df1fa2fce69b166 100644 (file)
@@ -73,6 +73,11 @@ extern void path_find_from(coord, coord, natid, int);
 extern double path_find_to(coord, coord);
 extern double path_find(coord, coord, coord, coord, natid, int);
 extern size_t path_find_route(char *, size_t, coord, coord, coord, coord);
+#ifdef PATH_FIND_STATS
+extern void path_find_print_stats(void);
+#else
+#define path_find_print_stats() ((void)0)
+#endif
 
 /* src/lib/common/path.c */
 extern char *BestDistPath(char *, struct sctstr *, struct sctstr *,