aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/benchmark.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Cull remaining mostly dubious examples. Also remove readme.txtlloyd2014-01-011-45/+0
|
* Enable TLS again (bad merge)lloyd2012-02-201-3/+2
| | | | | | | Fixes for examples. Remove locking from session manager in the asio example, now done by default in the lib.
* The benchmark examples ran very slowly because they were passinglloyd2012-02-201-1/+1
| | | | | | | 16*1024 to an argument that treated those values as KiB, it took the RNG ~3 seconds to create 16 MiB of data to randomize the input. Change to 16. Also cap the value that can be passed to --buf-size to 1024, for a 1 MiB buffer.
* More pubkey doc updateslloyd2011-04-081-0/+46
|
* Convert most of the documentation to reStructured Text, addinglloyd2011-04-041-46/+0
| | | | | | | | | | | | | | | | | | | a makefile to build it with Sphinx (http://sphinx.pocoo.org/). Previously credits.txt listed public domain code sources; instead directly credit the authors in the relevant files and delete that file. Drop the draft FIPS 140 security policy; I can't imagine FIPS 140 validation will ever happen, and if it does, I don't want anything to do with it. Also drop the internals doc, which was so out of date (and incomplete) as to be worthless. Move the tutorials and InSiTo pdfs into old/ for the time being, until anything relevant from them can be filtered out and converted into RST.
* Fix compilation of examples; benchmarking and RNG changes mostlylloyd2010-10-121-1/+1
|
* 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.
* Switch benchmark example command line arg from ms to secondslloyd2008-11-221-2/+2
|
* Add an example of benchmark.hlloyd2008-11-211-0/+41