diff --git a/dune/common/timer.hh b/dune/common/timer.hh index e51a9b80b5a2da5d2911d12b71b9c6efe116eaf7..7c0b06c46f923c6b9eaa8be339b9d2bab6cc08e3 100644 --- a/dune/common/timer.hh +++ b/dune/common/timer.hh @@ -41,6 +41,11 @@ namespace Dune { The class is basically a wrapper for the libc-function getrusage() + \warning In a multi-threading situation, this class does NOT return wall-time! + Instead, the run time for all threads will be added up. + For example, if you have four threads running in parallel taking one second each, + then the Timer class will return an elapsed time of four seconds. + */ class Timer {