aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/bench.cpp
Commit message (Collapse)AuthorAgeFilesLines
* propagate from branch 'net.randombit.botan' (head ↵lloyd2010-03-091-28/+16
|\ | | | | | | | | | | 9932d4d63417f7fcc199ada244cbaa6c1c32d9c1) to branch 'net.randombit.botan.c++0x' (head f4a385a376311edc62ef506c72cc56f69e6efd5a)
| * propagate from branch 'net.randombit.botan' (head ↵lloyd2010-01-211-26/+16
| |\ | | | | | | | | | | | | | | | 12382647ef0a28fcb11c824c77b670cc88a4f721) to branch 'net.randombit.botan.c++0x' (head b586a3286d2c4d547ad3add5af9df1455bf4b87b)
| | * Fix some examples for changed APIs in C++0x branchlloyd2009-11-171-2/+1
| | |
| | * propagate from branch 'net.randombit.botan' (head ↵lloyd2009-09-171-1/+2
| | |\ | | | | | | | | | | | | | | | | | | | | b9ca6596a127964cb9795d22bc2a5642fab5de84) to branch 'net.randombit.botan.c++0x' (head 3c769a81bd357a14f8aca4502b67e8465cee0947)
| | * | Use <chrono> in the runtime benchmarking code instead of the locallloyd2009-09-161-2/+1
| | | | | | | | | | | | | | | | timers.
* | | | Fix minor errors and warnings in the examples. Remove boost dependency fromlloyd2010-03-031-0/+4
|/ / / | | | | | | | | | rng_test example.
* | | Add copyright and license notes to pretty much every file that didn't have them,lloyd2009-12-311-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'slloyd2009-12-011-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.
* | The get_tm function was duplicated. Move single version to timer.{h,cpp}lloyd2009-09-171-17/+27
|/
* Remove some debug code from benchmark examplelloyd2009-09-151-6/+0
|
* Add an implementation of Blue Midnight Wish (512 bit version only)lloyd2009-09-151-23/+20
|
* Add a couple of new exampleslloyd2009-08-041-0/+98