apps/speed.c: add -seconds and -bytes options
authorPatrick Steuer <patrick.steuer@de.ibm.com>
Sat, 2 Dec 2017 09:05:35 +0000 (10:05 +0100)
committerAndy Polyakov <appro@openssl.org>
Mon, 4 Dec 2017 13:54:40 +0000 (14:54 +0100)
commit64daf14d9cc54a61f0392fdd6e1b71e475fb7a96
tree3f72cd8b3903c2a180a1a15c69c5ff66173ea10b
parentdd5a4279f9be3988023a72c7f840aa2690c264f3
apps/speed.c: add -seconds and -bytes options

Add speed tool options to run cipher, digest and rand benchmarks for a
single buffer size specified by -bytes over a time interval specified
by -seconds.

Signed-off-by: Patrick Steuer <patrick.steuer@de.ibm.com>
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4834)
apps/speed.c
doc/man1/speed.pod