Tools/MMAPs: Output the time spent in a human readable format

(cherry picked from commit 6e34e07c48)
This commit is contained in:
jackpoz
2020-06-05 19:58:02 +02:00
committed by Shauren
parent 0ff1dd577e
commit bafd22104c

View File

@@ -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;
}