]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Another bug
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Wed, 16 Feb 2000 16:04:53 +0000 (16:04 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Wed, 16 Feb 2000 16:04:53 +0000 (16:04 +0000)
git-svn-id: https://svn.dealii.org/trunk@2420 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/timer.cc

index 244633abe5d98cd86f6535aa9d00ddf3b5b0cf7e..b9800b294e3426000878570aceb53986da9713e8 100644 (file)
@@ -51,7 +51,7 @@ double Timer::operator() () const
       getrusage (RUSAGE_SELF, &usage);
       const double dtime =  usage.ru_utime.tv_sec + 1.e-6 * usage.ru_utime.tv_usec;
 
-      return dtime + full_time();
+      return dtime - start_time + full_time();
     }
   else
     return full_time();

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.