diff options
| author | jackpoz <giacomopoz@gmail.com> | 2020-06-05 19:58:02 +0200 |
|---|---|---|
| committer | jackpoz <giacomopoz@gmail.com> | 2020-06-05 19:58:02 +0200 |
| commit | 6e34e07c48000e666ec15b26682eb15fb2f5f901 (patch) | |
| tree | 77b34883553c322f4b11c745094d776dd6ca11f6 /src | |
| parent | d81a9e5bc3b3e13b47332b3e7817bd0a0b228cbc (diff) | |
Tools/MMAPs: Output the time spent in a human readable format
Diffstat (limited to 'src')
| -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 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; } |
