feat(Tools/MMAPs): Output the time spent in a human readable format (#11574)
* . * .
This commit is contained in:
committed by
GitHub
parent
6ca5938d75
commit
ce36d10879
@@ -20,6 +20,7 @@
|
|||||||
#include "Timer.h"
|
#include "Timer.h"
|
||||||
#include "DBCFileLoader.h"
|
#include "DBCFileLoader.h"
|
||||||
#include "PathCommon.h"
|
#include "PathCommon.h"
|
||||||
|
#include "Util.h"
|
||||||
#include <boost/filesystem.hpp>
|
#include <boost/filesystem.hpp>
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
|
|
||||||
@@ -341,6 +342,6 @@ int main(int argc, char** argv)
|
|||||||
builder.buildMaps({});
|
builder.buildMaps({});
|
||||||
|
|
||||||
if (!silent)
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user