|
[Sponsors] | |||||
|
|
|
#1 |
|
Member
Join Date: Mar 2016
Posts: 33
Rep Power: 11 ![]() |
Using the CUDA solver, I see the following info at each time step
Code:
Time = 10 cudaCG: Solving for T, Initial residual = 9.9545596e-07, Final residual = 9.9545596e-07, No Iterations 0 ExecutionTime = 5.68 s ClockTime = 5 s |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
Robert
Join Date: May 2015
Location: Bremen, GER
Posts: 292
Rep Power: 13 ![]() |
The ExecutionTime is the time needed by the CPU for the iteration step and ClockTime is the "real" Time.
Further information can be found here: Difference between "ExecutionTime" and "ClockTime" |
|
|
|
|
|
|
|
|
#3 |
|
Member
Join Date: Mar 2016
Posts: 33
Rep Power: 11 ![]() |
OK. But I would like to know which source file is used for printing that information. As I said, there are multiple instances in the source folder.
Also, from you explanation I think ClockTime should be bigger than ExecutionTime. But I see the inverse. Can you explain more? |
|
|
|
|
|
|
|
|
#4 |
|
Senior Member
Robert
Join Date: May 2015
Location: Bremen, GER
Posts: 292
Rep Power: 13 ![]() |
From my observation the ClockTime is allways a whole number, while ExecutionTime gives the exact fractions. Also ExecutionTime can be smaller or larger (by a few fractions) than the ClockTime.
The printout is from solver.C: Code:
Info<< "ExecutionTime = " << runTime.elapsedCpuTime() << " s"
<< " ClockTime = " << runTime.elapsedClockTime() << " s"
<< nl << endl;
|
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Guide: Getting Started with the CFD Online Discussion Forums | pete | Site Help, Feedback & Discussions | 8 | July 29, 2016 06:00 |
| [blockMesh] Another cylinder question | bendel_boy | OpenFOAM Meshing & Mesh Conversion | 5 | January 6, 2015 06:09 |
| single directional message transmit in parallel model | su_junwei | OpenFOAM Programming & Development | 1 | December 17, 2009 08:00 |
| error message | susan | Siemens | 0 | August 17, 2007 01:27 |
| Error Message on es-ice [BUG] | Wendy Tjia | Siemens | 0 | February 10, 2005 09:40 |