Fix report after experiment

This commit is contained in:
2024-03-18 10:10:48 +01:00
parent 4a0fa33917
commit 7cf864c3f3
2 changed files with 7 additions and 5 deletions

2
.vscode/launch.json vendored
View File

@@ -99,7 +99,7 @@
"request": "launch",
"program": "${workspaceFolder}/build_debug/src/b_list",
"args": [
"--excel"
"datasets"
],
//"cwd": "/Users/rmontanana/Code/discretizbench",
"cwd": "${workspaceFolder}/../discretizbench",

View File

@@ -35,8 +35,14 @@ namespace platform {
}
void ReportConsole::header()
{
do_header();
std::cout << sheader.str();
}
void ReportConsole::body()
{
do_body();
std::cout << sbody.str();
}
std::string ReportConsole::fileReport()
{
do_header();
@@ -132,10 +138,6 @@ namespace platform {
sbody << std::string(MAXL, '*') << Colors::RESET() << std::endl;
vbody.push_back(std::string(MAXL, '*') + Colors::RESET() + "\n");
}
void ReportConsole::body()
{
std::cout << sbody.str();
}
void ReportConsole::showSummary()
{
for (const auto& item : summary) {