From c60de03e842db22e916dc0596c8d7d425748bdd0 Mon Sep 17 00:00:00 2001
From: Michel Juillard <michel.juillard@mjui.fr>
Date: Sun, 22 Jan 2012 16:09:42 +0100
Subject: [PATCH] the overall time of execution is now saved in the log file

---
 ModFile.cc | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/ModFile.cc b/ModFile.cc
index e59b78f7..709ea4ec 100644
--- a/ModFile.cc
+++ b/ModFile.cc
@@ -617,8 +617,9 @@ ModFile::writeOutputFiles(const string &basename, bool clear_all, bool console,
 
   config_file.writeEndParallel(mOutputFile);
 
-  mOutputFile << "diary off" << endl
-              << endl << "disp(['Total computing time : ' dynsec2hms(toc) ]);" << endl;
+  mOutputFile << endl << endl 
+	      << "disp(['Total computing time : ' dynsec2hms(toc) ]);" << endl
+	      << "diary off" << endl;
 
   mOutputFile.close();
 
-- 
GitLab