Added debug info for time required to get links from database when planning

This commit is contained in:
matlabbe
2015-06-22 14:55:32 -04:00
parent 91a4506956
commit cdb59371d7

View File

@@ -1278,9 +1278,9 @@ std::list<std::pair<int, Transform> > computePath(
if(lookInDatabase) if(lookInDatabase)
{ {
// Faster to load all links in one query // Faster to load all links in one query
//UTimer t; UTimer t;
allLinks = memory->getAllLinks(lookInDatabase); allLinks = memory->getAllLinks(lookInDatabase);
//UWARN("getting all %d links time = %f s", (int)allLinks.size(), t.ticks()); UINFO("getting all %d links time = %f s", (int)allLinks.size(), t.ticks());
} }
//dijkstra //dijkstra