diff options
author | Jeffrey Walton <noloader@gmail.com> | 2017-11-13 23:01:04 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2017-11-13 23:01:04 -0500 |
commit | eb894d2d5aad2f02881caaaca9e8607cdfc134a7 (patch) | |
tree | 8e9e9436d32e8e5427462362354fe40cda352bb3 /bench1.cpp | |
parent | 91b8d85f4cca9b128e59abda541aa9b5d67d7ad1 (diff) | |
download | cryptopp-git-eb894d2d5aad2f02881caaaca9e8607cdfc134a7.tar.gz |
Remove bold from algorithm name in benchmarks
Diffstat (limited to 'bench1.cpp')
-rw-r--r-- | bench1.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -57,7 +57,7 @@ void OutputResultBytes(const char *name, double length, double timeTaken) if (timeTaken < 0.000001f) timeTaken = 0.000001f;
double mbs = length / timeTaken / (1024*1024);
- std::cout << "\n<TR><TH>" << name;
+ std::cout << "\n<TR><TD>" << name;
std::cout << std::setiosflags(std::ios::fixed);
std::cout << "<TD>" << std::setprecision(0) << std::setiosflags(std::ios::fixed) << mbs;
if (g_hertz > 1.0f)
@@ -91,7 +91,7 @@ void OutputResultOperations(const char *name, const char *operation, bool pc, un if (!iterations) iterations++;
if (timeTaken < 0.000001f) timeTaken = 0.000001f;
- std::cout << "\n<TR><TH>" << name << " " << operation << (pc ? " with precomputation" : "");
+ std::cout << "\n<TR><TD>" << name << " " << operation << (pc ? " with precomputation" : "");
std::cout << "<TD>" << std::setprecision(2) << std::setiosflags(std::ios::fixed) << (1000*timeTaken/iterations);
// Coverity finding
@@ -430,7 +430,8 @@ void Benchmark1(double t, double hertz) std::cout << "\n<COLGROUP><COL style=\"text-align: left;\"><COL style=\"text-align: right;\">";
std::cout << "<COL style=\"text-align: right;\">";
- std::cout << "\n<THEAD style=\"background: #F0F0F0\"><TR><TH>Algorithm<TH>MiB/Second" << cpb;
+ std::cout << "\n<THEAD style=\"background: #F0F0F0\">";
+ std::cout << "\n<TR><TH>Algorithm<TH>MiB/Second" << cpb;
std::cout << "\n<TBODY style=\"background: white;\">";
{
@@ -508,7 +509,8 @@ void Benchmark2(double t, double hertz) std::cout << "\n<TABLE>";
std::cout << "\n<COLGROUP><COL style=\"text-align: left;\"><COL style=\"text-align: right;\"><COL style=";
std::cout << "\"text-align: right;\"><COL style=\"text-align: right;\"><COL style=\"text-align: right;\">";
- std::cout << "\n<THEAD style=\"background: #F0F0F0\"><TR><TH>Algorithm<TH>MiB/Second" << cpb;
+ std::cout << "\n<THEAD style=\"background: #F0F0F0\">";
+ std::cout << "\n<TR><TH>Algorithm<TH>MiB/Second" << cpb;
std::cout << "<TH>Microseconds to<BR>Setup Key and IV" << cpk;
std::cout << "\n<TBODY style=\"background: white;\">";
|