]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix TimerOutput::reset() total time
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 26 Mar 2013 20:14:49 +0000 (20:14 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 26 Mar 2013 20:14:49 +0000 (20:14 +0000)
git-svn-id: https://svn.dealii.org/trunk@29044 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/base/timer.cc

index 0e70c5788acfb2b47683fe30a5f59847d6c5fd5f..a57f11d47c7d7916056d645267082a72393f173c 100644 (file)
@@ -617,6 +617,7 @@ TimerOutput::reset ()
   Threads::Mutex::ScopedLock lock (mutex);
   sections.clear();
   active_sections.clear();
+  timer_all.restart();
 }
 
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.