From 1de5496e9a9eb10e50cd1616fe756938af401f1b Mon Sep 17 00:00:00 2001 From: Dennis Luxen Date: Tue, 21 Sep 2010 15:58:52 +0000 Subject: [PATCH] removing excessive use of time stamps --- HttpServer/request_handler.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/HttpServer/request_handler.h b/HttpServer/request_handler.h index c7de6efa7..be579054d 100644 --- a/HttpServer/request_handler.h +++ b/HttpServer/request_handler.h @@ -103,21 +103,21 @@ public: _Coordinate startCoord(lat1, lon1); _Coordinate targetCoord(lat2, lon2); - double timestamp2 = get_timestamp(); +// double timestamp2 = get_timestamp(); //cout << "coordinates in " << timestamp2 - timestamp << "s" << endl; vector * path = new vector(); PhantomNodes * phantomNodes = new PhantomNodes(); - timestamp = get_timestamp(); +// timestamp = get_timestamp(); sEngine->FindRoutingStarts(startCoord, targetCoord, phantomNodes); - timestamp2 = get_timestamp(); +// timestamp2 = get_timestamp(); //cout << "routing starts in " << timestamp2 - timestamp << "s" << endl; - timestamp = get_timestamp(); +// timestamp = get_timestamp(); unsigned int distance = sEngine->ComputeRoute(phantomNodes, path, startCoord, targetCoord); - timestamp2 = get_timestamp(); +// timestamp2 = get_timestamp(); //cout << "shortest path in " << timestamp2 - timestamp << "s" << endl; - timestamp = get_timestamp(); +// timestamp = get_timestamp(); rep.status = reply::ok; string tmp; @@ -192,7 +192,7 @@ public: delete path; delete phantomNodes; - timestamp2 = get_timestamp(); +// timestamp2 = get_timestamp(); //cout << "description in " << timestamp2 - timestamp << "s" << endl; return; }