aboutsummaryrefslogtreecommitdiffstats
path: root/checks/bench.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-12-23 20:22:36 +0000
committerlloyd <[email protected]>2009-12-23 20:22:36 +0000
commit4043de7bbe0785556201925c047a28e1fa3e30f1 (patch)
tree578be62f757a14698b6eac5ce32b2fd86a86cd60 /checks/bench.cpp
parent2c0cbb392a21502ef79414bea72453962ec9110d (diff)
Force line flush in benchmark, useful when tee'ing output
Diffstat (limited to 'checks/bench.cpp')
-rw-r--r--checks/bench.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/checks/bench.cpp b/checks/bench.cpp
index 631bf8476..3be61462a 100644
--- a/checks/bench.cpp
+++ b/checks/bench.cpp
@@ -144,7 +144,7 @@ void report_results(const std::string& algo,
std::cout << " [" << i->second << "] "
<< std::fixed << std::setprecision(2) << i->first;
}
- std::cout << "\n";
+ std::cout << std::endl;
}
}