From 7568c29d6ebe0aee0198f92da48c6375dc5dd872 Mon Sep 17 00:00:00 2001
From: Sven Kaulmann <sven.kaulmann@uni-muenster.de>
Date: Wed, 5 Jan 2011 16:00:46 +0100
Subject: [PATCH] Added missing includes to profiler, removed Logger from
 OutputCommon

---
 stuff/profiler.hh | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/stuff/profiler.hh b/stuff/profiler.hh
index 0a0df81dd..2a301cef4 100644
--- a/stuff/profiler.hh
+++ b/stuff/profiler.hh
@@ -10,6 +10,8 @@
 #include <boost/format.hpp>
 
 #include "misc.hh"
+#include "filesystem.hh"
+#include "parametercontainer.hh"
 
 //! wraps name, start- and end time for one timing section
 struct TimingData
@@ -105,7 +107,6 @@ public:
    **/
   void Reset(const int numRuns)
   {
-    Logger().Dbg() << "preparing profiler for " << numRuns << " runs" << std::endl;
     m_timings.clear();
     m_timings     = MapVector(numRuns, DataMap());
     m_total_runs  = numRuns;
@@ -267,7 +268,7 @@ long Profiler::OutputCommon(CollectiveCommunication& comm, InfoContainer& run_in
   assert(run_infos.size() >= m_timings.size());
   for (; ti_it != m_timings.end(); ++ti_it) {
     RunInfo info = run_infos[idx];
-    csv << info.refine_level << "\t" << comm.size() << "\t" << info.codim0 << "\t" << -1 /*fake L2 error*/ << "\t";
+    csv << info.refine_level << "\t" << comm.size() << "\t" << info.codim0 << "\t" << info.L2Errors[0] << "\t";
 
     const DataMap& data_map = *ti_it;
     for (DataMap::const_iterator it = data_map.begin(); it != data_map.end(); ++it) {
-- 
GitLab