diff options
author | Jeffrey Walton <noloader@gmail.com> | 2020-12-15 23:03:10 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2020-12-15 23:03:10 -0500 |
commit | bb29b5e10ee2b4ba2527e7b468800f023ea3d542 (patch) | |
tree | 18f4eca448027f24968fc466b15695cdca3d92af /bench1.cpp | |
parent | d7b2982e32150096a454588fa3ad6a0d9f08f955 (diff) | |
download | cryptopp-git-bb29b5e10ee2b4ba2527e7b468800f023ea3d542.tar.gz |
Use better names than Benchmark1, Benchmark2, etc
Diffstat (limited to 'bench1.cpp')
-rw-r--r-- | bench1.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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;
|