Merge pull request #2059 from sipa/benchmark

Add -benchmark for reporting block processing times
This commit is contained in:
Gavin Andresen
2012-12-12 09:14:52 -08:00
4 changed files with 28 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)