From 4f883aaedadf769a3aaf4d3cadd4211af39bae5f Mon Sep 17 00:00:00 2001 From: Dennis Luxen Date: Thu, 12 Aug 2010 15:41:14 +0000 Subject: [PATCH] corrected timing of kd tree construction --- routed.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/routed.cpp b/routed.cpp index c08ab40c1..761c9d54e 100644 --- a/routed.cpp +++ b/routed.cpp @@ -136,12 +136,14 @@ int main (int argc, char *argv[]) } } cout << "in " << get_timestamp() - time << "s" << endl; + time = get_timestamp(); cout << "building search graph ..." << flush; SearchEngine > * sEngine = new SearchEngine >(graph, kdtreeService); cout << "in " << get_timestamp() - time << "s" << endl; time = get_timestamp(); + try { // Block all signals for background thread. sigset_t new_mask;