From d780b1d902c3ee7d28b23aca8a8c80c936b1af2b Mon Sep 17 00:00:00 2001
From: Ben Cumming <bcumming@cscs.ch>
Date: Tue, 16 Aug 2016 13:17:46 +0200
Subject: [PATCH] remove debug printf from profiler

---
 src/profiling/profiler.cpp | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/profiling/profiler.cpp b/src/profiling/profiler.cpp
index ca139418..88c3d60d 100644
--- a/src/profiling/profiler.cpp
+++ b/src/profiling/profiler.cpp
@@ -291,20 +291,18 @@ void profiler_leave(int nlevels) {
     get_profiler().leave(nlevels);
 }
 
-// iterate over all profilers and ensure that they have the same start stop times
+/// iterate over all profilers and ensure that they have the same start stop times
 void profilers_stop() {
     for (auto& p : data::profilers_) {
         p.stop();
     }
 }
 
+/// iterate over all profilers and reset
 void profilers_restart() {
-    auto i = 0;
     for (auto& p : data::profilers_) {
         p.restart();
-        ++i;
     }
-    std::cout << "just stopped " << i << " profilers" << std::endl;
 }
 
 void profiler_output(double threshold, cell_size_type num_local_cells, int num_steps) {
-- 
GitLab