aboutsummaryrefslogtreecommitdiffstats
path: root/checks/timer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Avoid integer overflows in the benchmark timer code. This would lead tolloyd2008-10-221-3/+8
| | | | bad results, especially noticable with fast algorithms and long test times.
* Timer tried to guess if it should use seconds or ms, but it always chooselloyd2008-10-171-13/+4
| | | | | | | the wrong one in some situation or another. Just print milliseconds no matter what. Also it's easier to read/compare if everything is in the same unit (obv)
* Explicit cast from double to int using static_castlloyd2008-09-151-1/+1
|
* Tweak timer outputlloyd2008-09-071-2/+2
|
* Choice of clock_gettime, gettimeofday, times, and clock for benchmark timingslloyd2008-09-051-8/+0
|
* Use the Timer class for all benchmarkinglloyd2008-09-051-1/+2
|
* Inline some methods of Timerlloyd2008-08-311-26/+0
| | | | Randomly generate the RW keys as well, removing all need for the keys/ dir
* Add a simple timer classlloyd2008-08-311-0/+88