logs: add BCLog::Timer and related macros

Makes logging timing information about a block of code easier.
This commit is contained in:
James O'Beirne
2019-09-19 13:59:49 -04:00
parent 0d86f4d3da
commit 41edaf227a
4 changed files with 142 additions and 0 deletions

View File

@@ -110,6 +110,7 @@ BITCOIN_TESTS =\
test/key_io_tests.cpp \
test/key_tests.cpp \
test/limitedmap_tests.cpp \
test/logging_tests.cpp \
test/dbwrapper_tests.cpp \
test/validation_tests.cpp \
test/mempool_tests.cpp \