Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix compilation of examples; benchmarking and RNG changes mostly | lloyd | 2010-10-12 | 1 | -1/+1 |
| | |||||
* | Add copyright and license notes to pretty much every file that didn't have them, | lloyd | 2009-12-31 | 1 | -0/+6 |
| | | | | | | | | including the examples and self-test code. Most of these files had not copyright/license information at all; since a major point of the examples is to allow users to copy and paste code that already does something they want, an ambigious license is not good. | ||||
* | Consolidate the non-canonical epoch timers, like cpuid and Win32's | lloyd | 2009-12-01 | 1 | -2/+1 |
| | | | | | | | | | | | | | | QueryPerformanceCounter, into an entropy source hres_timer. Its results, if any, do not count as contributing entropy to the poll. Convert the other (monotonic/fixed epoch) timers to a single function get_nanoseconds_clock(), living in time.h, which statically chooses the 'best' timer type (clock_gettime, gettimeofday, std::clock, in that order depending on what is available). Add feature test macros for clock_gettime and gettimeofday. Remove the Timer class and timer.h. Remove the Timer& argument to the algorithm benchmark function. | ||||
* | Switch benchmark example command line arg from ms to seconds | lloyd | 2008-11-22 | 1 | -2/+2 |
| | |||||
* | Add an example of benchmark.h | lloyd | 2008-11-21 | 1 | -0/+41 |