summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorIntelligentQuantum <IntelligentQuantum@ProtonMail.Com>2022-05-08 13:20:25 +0430
committerGitHub <noreply@github.com>2022-05-08 10:50:25 +0200
commitce36d10879c5ed2aa83e9d4c675114cf78a11db5 (patch)
treef15be595aab7365f45906859277a63d60407a517 /src/tools
parent6ca5938d75a77addfbf6b55ca9e45b2fe15086e4 (diff)
feat(Tools/MMAPs): Output the time spent in a human readable format (#11574)
* . * .
Diffstat (limited to 'src/tools')
-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 469ff79845..5407d99c08 100644
--- a/src/tools/mmaps_generator/PathGenerator.cpp
+++ b/src/tools/mmaps_generator/PathGenerator.cpp
@@ -20,6 +20,7 @@
#include "Timer.h"
#include "DBCFileLoader.h"
#include "PathCommon.h"
+#include "Util.h"
#include <boost/filesystem.hpp>
#include <unordered_map>
@@ -341,6 +342,6 @@ int main(int argc, char** argv)
builder.buildMaps({});
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;
}