[dune-fem] Fem timer

Agnese, Marco m.agnese13 at imperial.ac.uk
Wed Apr 15 15:42:42 CEST 2015


Hi, 
I am trying to use the FemTimer without success. 

My code is something like

    FemTimer femTimer;
    const unsigned int timerID(femTimer.addTo("Compute timer",1));
    femTimer.start(timerID);

    femTimer.start(timerID,1);
    // do something
    femTimer.stop(timerID,1);

    femTimer.stop(timerID);
    femTimer.print(std::cout);
    femTimer.reset(timerID);

It compiles correctly but, when I run the code, I don't see any FemTimer output on my terminal.
What am I doing wrong?

Thank you very much,
regards,
Marco.



More information about the dune-fem mailing list