aboutsummaryrefslogtreecommitdiff
path: root/src/bench/Examples.cpp
AgeCommit message (Collapse)Author
2015-09-30Support very-fast-running benchmarksGavin Andresen
Avoid calling gettimeofday every time through the benchmarking loop, by keeping track of how long each loop takes and doubling the number of iterations done between time checks when they take less than 1/16'th of the total elapsed time.