aboutsummaryrefslogtreecommitdiff
path: root/src/bench/Examples.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Support very-fast-running benchmarksGavin Andresen2015-09-301-0/+34
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.