From bafd22104cd7b12056e2ea3060ddc778375ae60c Mon Sep 17 00:00:00 2001 From: jackpoz Date: Fri, 5 Jun 2020 19:58:02 +0200 Subject: Tools/MMAPs: Output the time spent in a human readable format (cherry picked from commit 6e34e07c48000e666ec15b26682eb15fb2f5f901) --- src/tools/mmaps_generator/PathGenerator.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/tools/mmaps_generator/PathGenerator.cpp b/src/tools/mmaps_generator/PathGenerator.cpp index 932395b984a..9625b1d7f1f 100644 --- a/src/tools/mmaps_generator/PathGenerator.cpp +++ b/src/tools/mmaps_generator/PathGenerator.cpp @@ -22,6 +22,7 @@ #include "MapBuilder.h" #include "PathCommon.h" #include "Timer.h" +#include "Util.h" #include "VMapFactory.h" #include "VMapManager2.h" #include @@ -415,6 +416,6 @@ int main(int argc, char** argv) VMAP::VMapFactory::clear(); 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; } -- cgit v1.2.3