diff options
author | jackpoz <giacomopoz@gmail.com> | 2020-06-05 19:58:02 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2022-01-04 20:44:00 +0100 |
commit | bafd22104cd7b12056e2ea3060ddc778375ae60c (patch) | |
tree | 2d629e80039c87a75f4c872b393da66e07c6ea91 | |
parent | 0ff1dd577ee019309b91aac793954c45782febd9 (diff) |
Tools/MMAPs: Output the time spent in a human readable format
(cherry picked from commit 6e34e07c48000e666ec15b26682eb15fb2f5f901)
-rw-r--r-- | src/tools/mmaps_generator/PathGenerator.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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 <boost/filesystem/operations.hpp> @@ -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; } |