|
[Sponsors] |
![]() |
![]() |
#1 |
Member
Join Date: Mar 2016
Posts: 33
Rep Power: 10 ![]() |
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: 12 ![]() |
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: 10 ![]() |
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: 12 ![]() |
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 | Thread Starter | Forum | Replies | Last Post |
Guide: Getting Started with the CFD Online Discussion Forums | pete | Site Help, Feedback & Discussions | 8 | July 29, 2016 05:00 |
[blockMesh] Another cylinder question | bendel_boy | OpenFOAM Meshing & Mesh Conversion | 5 | January 6, 2015 05:09 |
single directional message transmit in parallel model | su_junwei | OpenFOAM Programming & Development | 1 | December 17, 2009 07:00 |
error message | susan | Siemens | 0 | August 17, 2007 00:27 |
Error Message on es-ice [BUG] | Wendy Tjia | Siemens | 0 | February 10, 2005 08:40 |