aboutsummaryrefslogtreecommitdiff
path: root/src/bench/perf.h
AgeCommit message (Collapse)Author
2016-11-22bench: Add support for measuring CPU cyclesWladimir J. van der Laan
This adds cycle min/max/avg to the statistics. Supported on x86 and x86_64 (natively through rdtsc), as well as Linux (perf syscall).