aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2020-11-24 08:16:05 -0500
committerJack Lloyd <[email protected]>2020-11-24 08:16:08 -0500
commit5711222e5feeb32b2f3dd4b52390c745338def19 (patch)
tree530d89281de2bd4e90ed28ce3f78735b98fd018b /src
parentcb1c359fe786ed2a388e10f6ff99aafcdffef250 (diff)
Fix speed's OS2ECP output
Diffstat (limited to 'src')
-rw-r--r--src/cli/speed.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cli/speed.cpp b/src/cli/speed.cpp
index 77e9ca1ee..f2764c353 100644
--- a/src/cli/speed.cpp
+++ b/src/cli/speed.cpp
@@ -1201,11 +1201,11 @@ class Speed final : public Command
void bench_os2ecp(const std::vector<std::string>& groups, const std::chrono::milliseconds runtime)
{
- std::unique_ptr<Timer> uncmp_timer = make_timer("OS2ECP uncompressed");
- std::unique_ptr<Timer> cmp_timer = make_timer("OS2ECP compressed");
-
for(std::string group_name : groups)
{
+ std::unique_ptr<Timer> uncmp_timer = make_timer("OS2ECP uncompressed " + group_name);
+ std::unique_ptr<Timer> cmp_timer = make_timer("OS2ECP compressed " + group_name);
+
const Botan::EC_Group ec_group(group_name);
while(uncmp_timer->under(runtime) && cmp_timer->under(runtime))