feat(Tools/MMAPs): Output the time spent in a human readable format (#11574)

* .

* .
This commit is contained in:
IntelligentQuantum
2022-05-08 13:20:25 +04:30
committed by GitHub
parent 6ca5938d75
commit ce36d10879

View File

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