diff options
author | cheloha <> | 2018-08-11 16:07:36 +0000 |
---|---|---|
committer | cheloha <> | 2018-08-11 16:07:36 +0000 |
commit | 3bdf42f49f445f33cfe8ce9261d1504d89474682 (patch) | |
tree | b38d04b397a5aacb6260a8e443994c0d5a4c60b0 /src/lib/libssl/ssl_clnt.c | |
parent | 510a5bb350e3d31f34b392a9252d98f6c54efa01 (diff) | |
download | openbsd-3bdf42f49f445f33cfe8ce9261d1504d89474682.tar.gz openbsd-3bdf42f49f445f33cfe8ce9261d1504d89474682.tar.bz2 openbsd-3bdf42f49f445f33cfe8ce9261d1504d89474682.zip |
Refactor the nearly identical benchmark loops into a single loop.
Move all of the benchmark code -- loop initialization, the loops, and
the report printing -- into a new function, benchmark(). Eliminates
lots of duplicate code.
Regressions to 1.20 caught by tb@ and inoguchi@. Tweaked by tb@.
ok tb@, jsing@
Diffstat (limited to 'src/lib/libssl/ssl_clnt.c')
0 files changed, 0 insertions, 0 deletions