summaryrefslogtreecommitdiffstats
path: root/apps/speed.c
diff options
context:
space:
mode:
authorTim Hudson <tjh@openssl.org>2015-08-17 22:16:39 +1000
committerTim Hudson <tjh@openssl.org>2015-08-17 22:16:39 +1000
commit686e344918229cae90562384c01606ba88ed51ba (patch)
tree0c74a347107fc2117b30780ba2bdb9790c9635fb /apps/speed.c
parenteb647452eb73be491521980f45582c63f7194521 (diff)
restore usage of -elapsed that was disabled in the ifdef reorg
Reviewed-by: Ben Laurie <ben@openssl.org>
Diffstat (limited to 'apps/speed.c')
-rw-r--r--apps/speed.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/apps/speed.c b/apps/speed.c
index ca93d2c070..49efa7b4c9 100644
--- a/apps/speed.c
+++ b/apps/speed.c
@@ -364,10 +364,8 @@ OPTIONS speed_options[] = {
{"mr", OPT_MR, '-', "Produce machine readable output"},
{"mb", OPT_MB, '-'},
{"misalign", OPT_MISALIGN, 'n', "Amount to mis-align buffers"},
-#if defined(TIMES) || defined(USE_TOD)
{"elapsed", OPT_ELAPSED, '-',
"Measure time in real time instead of CPU user time"},
-#endif
#ifndef NO_FORK
{"multi", OPT_MULTI, 'p', "Run benchmarks in parallel"},
#endif
@@ -755,9 +753,6 @@ int speed_main(int argc, char **argv)
long ecdh_c[EC_NUM][2];
int ecdh_doit[EC_NUM];
#endif
-#ifndef TIMES
- usertime = -1;
-#endif
memset(results, 0, sizeof(results));
#ifndef OPENSSL_NO_DSA