aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.bench.include
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-11-22 10:22:08 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2016-11-22 12:20:57 +0100
commit35328187463a7078b4206e394c21d5515929c7de (patch)
treee310e5beca1e7ad006cb48423c64f72d6a4d00fd /src/Makefile.bench.include
parent55b2eddcc8fd407aa62fd280f4767e3034a7eb04 (diff)
downloadbitcoin-35328187463a7078b4206e394c21d5515929c7de.tar.xz
bench: Add support for measuring CPU cycles
This adds cycle min/max/avg to the statistics. Supported on x86 and x86_64 (natively through rdtsc), as well as Linux (perf syscall).
Diffstat (limited to 'src/Makefile.bench.include')
-rw-r--r--src/Makefile.bench.include4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Makefile.bench.include b/src/Makefile.bench.include
index 246797a1b2..e58bd9dfbf 100644
--- a/src/Makefile.bench.include
+++ b/src/Makefile.bench.include
@@ -22,7 +22,9 @@ bench_bench_bitcoin_SOURCES = \
bench/mempool_eviction.cpp \
bench/verify_script.cpp \
bench/base58.cpp \
- bench/lockedpool.cpp
+ bench/lockedpool.cpp \
+ bench/perf.cpp \
+ bench/perf.h
nodist_bench_bench_bitcoin_SOURCES = $(GENERATED_TEST_FILES)