Hi,
Is there an easy way to
Hi,
Is there an easy way to write to screen the execution time for each distinct part of a computation? E.g. can I output each timestep the execution time of the mesh motion, the solving for U (ICCG) and the solving for p (BICCG). Thanks, Frank |
Hello Frank,
I think this c
Hello Frank,
I think this can be done quite easily. In the main code of a program you can find the following lines: Info<< "ExecutionTime = " << runTime.elapsedCpuTime() << " s\n\n" << endl; I think you can add this info statement at different positions in your program and get the executiontime of the separate parts. Guido |
Ok thanks, I should have figur
Ok thanks, I should have figured it out myself!
|
All times are GMT -4. The time now is 07:46. |