diff --git a/dumux/common/timeloop.hh b/dumux/common/timeloop.hh index 4ae0fe9983204708fdc3748f4642f8f5a0a5011b..c683c8292e99525c00e04549900880e5e9e82ee4 100644 --- a/dumux/common/timeloop.hh +++ b/dumux/common/timeloop.hh @@ -192,10 +192,10 @@ public: { endTime_ = t; } /*! - * \brief Returns the current wall clock time (cpu time). + * \brief Returns the current wall clock time (cpu time) spend in this time loop */ double wallClockTime() const - { return cpuTime_; } + { return timer_.elapsed(); } /*! * \brief Set the current time step size to a given value.