Skip to content
Snippets Groups Projects
Commit c33965a6 authored by Oliver Sander's avatar Oliver Sander
Browse files

warn about Timer not returning wall-time for multi-threaded code

[[Imported from SVN: r7095]]
parent 61dec97d
No related branches found
No related tags found
No related merge requests found
......@@ -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
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment