summaryrefslogtreecommitdiff
path: root/bench1.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2020-12-15 23:03:10 -0500
committerJeffrey Walton <noloader@gmail.com>2020-12-15 23:03:10 -0500
commitbb29b5e10ee2b4ba2527e7b468800f023ea3d542 (patch)
tree18f4eca448027f24968fc466b15695cdca3d92af /bench1.cpp
parentd7b2982e32150096a454588fa3ad6a0d9f08f955 (diff)
downloadcryptopp-git-bb29b5e10ee2b4ba2527e7b468800f023ea3d542.tar.gz
Use better names than Benchmark1, Benchmark2, etc
Diffstat (limited to 'bench1.cpp')
-rw-r--r--bench1.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/bench1.cpp b/bench1.cpp
index 627d2b6f..5a7d66a1 100644
--- a/bench1.cpp
+++ b/bench1.cpp
@@ -387,7 +387,7 @@ void Benchmark(Test::TestClass suites, double t, double hertz)
std::cout << "\n<BR>";
count_breaks++;
- Benchmark1(t, hertz);
+ BenchmarkUnkeyedAlgorithms(t, hertz);
}
// Shared key algorithms
@@ -397,7 +397,7 @@ void Benchmark(Test::TestClass suites, double t, double hertz)
std::cout << "\n<BR>";
count_breaks++;
- Benchmark2(t, hertz);
+ BenchmarkSharedKeyedAlgorithms(t, hertz);
}
// Public key algorithms
@@ -407,7 +407,7 @@ void Benchmark(Test::TestClass suites, double t, double hertz)
std::cout << "\n<BR>";
count_breaks++;
- Benchmark3(t, hertz);
+ BenchmarkPublicKeyAlgorithms(t, hertz);
}
// Public key algorithms over EC
@@ -417,7 +417,7 @@ void Benchmark(Test::TestClass suites, double t, double hertz)
std::cout << "\n<BR>";
count_breaks++;
- Benchmark4(t, hertz);
+ BenchmarkEllipticCurveAlgorithms(t, hertz);
}
g_testEnd = ::time(NULLPTR);
@@ -434,7 +434,7 @@ void Benchmark(Test::TestClass suites, double t, double hertz)
AddHtmlFooter();
}
-void Benchmark1(double t, double hertz)
+void BenchmarkUnkeyedAlgorithms(double t, double hertz)
{
g_allocatedTime = t;
g_hertz = hertz;