From: guido Date: Wed, 16 Feb 2000 16:04:53 +0000 (+0000) Subject: Another bug X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e83f8d420fcd648cdcef9a05105797f76682500;p=dealii-svn.git Another bug git-svn-id: https://svn.dealii.org/trunk@2420 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/base/source/timer.cc b/deal.II/base/source/timer.cc index 244633abe5..b9800b294e 100644 --- a/deal.II/base/source/timer.cc +++ b/deal.II/base/source/timer.cc @@ -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();