%PUBLICVALUE_CPUstatistics%

CPU value of given stop watch

The time values given by this option refer to the current time cycle.
INTEGRATION($IntInd$) = ( %PUBLICVALUE_CPUstatistics%, iArgument, "NameOfStopWatch" )
iArgument:
  • 1 (average per-point-values of CPU time measured by the indicated stop watch)
  • 2 (minimum per-point-values of CPU time measured by the indicated stop watch: N_MPI*min(CPU(1...N_MPI)/N_MFpoints)
  • 3 (maximum per-point-values of CPU time measured by the indicated stop watch: N_MPI*max(CPU(1...N_MPI)/N_MFpoints)
  • 4 (sum of the CPU-times over all MPI processes)
  • 5 (minimum CPU-time: N_MPI*min(CPU(1...N_MPI))
  • 6 (maximum CPU-time: N_MPI*max(CPU(1...N_MPI))
NameOfStopWatch: see NamesOfStopWatches . Example:
begin_timestepfile{"TimeStatistics"} INTEGRATION($IntInd1$) = ( %PUBLICVALUE%, [real(%RealTimeSimulation%)]) # this puts the time into the first column INTEGRATION($IntInd2$) = ( %PUBLICVALUE_CPUstatistics%, 1, "ADMIN_TIME_INTEG.ORGANIZE" ) INTEGRATION($IntInd3$) = ( %PUBLICVALUE_CPUstatistics%, 1, "ADMIN_TIME_INTEG.FLIQUID" ) INTEGRATION($IntInd4$) = ( %PUBLICVALUE_CPUstatistics%, 2, "ADMIN_TIME_INTEG.ORGANIZE" ) INTEGRATION($IntInd5$) = ( %PUBLICVALUE_CPUstatistics%, 2, "ADMIN_TIME_INTEG.FLIQUID" ) INTEGRATION($IntInd6$) = ( %PUBLICVALUE_CPUstatistics%, 3, "ADMIN_TIME_INTEG.ORGANIZE" ) INTEGRATION($IntInd7$) = ( %PUBLICVALUE_CPUstatistics%, 3, "ADMIN_TIME_INTEG.FLIQUID" ) end_timestepfile