diff options
-rw-r--r-- | src/main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 89f2709e61..550c10c374 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2146,6 +2146,8 @@ void PrintBlockTree() bool LoadExternalBlockFile(FILE* fileIn) { + int64 nStart = GetTimeMillis(); + int nLoaded = 0; { LOCK(cs_main); @@ -2198,7 +2200,7 @@ bool LoadExternalBlockFile(FILE* fileIn) __PRETTY_FUNCTION__); } } - printf("Loaded %i blocks from external file\n", nLoaded); + printf("Loaded %i blocks from external file in %"PRI64d"ms\n", nLoaded, GetTimeMillis() - nStart); return nLoaded > 0; } |