Add -benchmark for reporting block processing times

This commit is contained in:
Pieter Wuille
2012-12-01 20:10:23 +01:00
parent 0ae0712b1c
commit 8a28bb6dee
3 changed files with 22 additions and 0 deletions

View File

@@ -481,6 +481,7 @@ bool AppInit2()
// ********************************************************* Step 3: parameter-to-internal-flags
fDebug = GetBoolArg("-debug");
fBenchmark = GetBoolArg("-benchmark");
// -debug implies fDebug*
if (fDebug)