aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2020-06-05 19:58:02 +0200
committerjackpoz <giacomopoz@gmail.com>2020-06-05 19:58:02 +0200
commit6e34e07c48000e666ec15b26682eb15fb2f5f901 (patch)
tree77b34883553c322f4b11c745094d776dd6ca11f6
parentd81a9e5bc3b3e13b47332b3e7817bd0a0b228cbc (diff)
Tools/MMAPs: Output the time spent in a human readable format
-rw-r--r--src/tools/mmaps_generator/PathGenerator.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/mmaps_generator/PathGenerator.cpp b/src/tools/mmaps_generator/PathGenerator.cpp
index 524e594ec39..58cc30a4eb1 100644
--- a/src/tools/mmaps_generator/PathGenerator.cpp
+++ b/src/tools/mmaps_generator/PathGenerator.cpp
@@ -20,6 +20,7 @@
#include "MapBuilder.h"
#include "PathCommon.h"
#include "Timer.h"
+#include "Util.h"
#include <boost/filesystem.hpp>
#include <unordered_map>
@@ -326,6 +327,6 @@ int main(int argc, char** argv)
builder.buildAllMaps(threads);
if (!silent)
- printf("Finished. MMAPS were built in %u ms!\n", GetMSTimeDiffToNow(start));
+ printf("Finished. MMAPS were built in %s\n", secsToTimeString(GetMSTimeDiffToNow(start) / 1000).c_str());
return 0;
}