PyFoam.LogAnalysis.ExecutionTimeLineAnalyzer module

Check for Execution-Time information

class PyFoam.LogAnalysis.ExecutionTimeLineAnalyzer.ExecutionTimeLineAnalyzer[source]

Bases: PyFoam.LogAnalysis.ExecutionTimeLineAnalyzer.GeneralExecutionLineAnalyzer

Parses lines for the execution time

__init__()[source]
Parameters
  • titles – The titles of the data elements

  • progressTemplate – Progress output to be reported

  • plotIterations – plot iterations instead of the real time

__module__ = 'PyFoam.LogAnalysis.ExecutionTimeLineAnalyzer'
class PyFoam.LogAnalysis.ExecutionTimeLineAnalyzer.GeneralExecutionLineAnalyzer(doTimelines=True, doFiles=True, singleFile=False, startTime=None, endTime=None)[source]

Bases: PyFoam.LogAnalysis.GeneralLineAnalyzer.GeneralLineAnalyzer

Parses lines for the execution time

__init__(doTimelines=True, doFiles=True, singleFile=False, startTime=None, endTime=None)[source]
Parameters
  • titles – The titles of the data elements

  • progressTemplate – Progress output to be reported

  • plotIterations – plot iterations instead of the real time

__module__ = 'PyFoam.LogAnalysis.ExecutionTimeLineAnalyzer'
addToFiles(match)[source]

Method that adds matched data to files

Parameters

match – data matched by a regular expression

addToTimelines(match)[source]

Method that adds matched data to timelines

Parameters

match – data matched by a regular expression

clockFirst()[source]

Returns the Wall-Clock-Time of the first timestep

clockTotal()[source]

Returns the total Wall-Clock-Time

endAnalysis(match)[source]

Method at the end of a successfull match

resetFile()[source]

Restart the analysis because we’re using a new input file

startAnalysis(match)[source]

Method at the start of a successfull match

timeFirst()[source]

Returns the CPU-Time of the first timestep

timeTotal()[source]

Returns the total CPU-Time

class PyFoam.LogAnalysis.ExecutionTimeLineAnalyzer.TimeLineExecutionTimeLineAnalyzer[source]

Bases: PyFoam.LogAnalysis.ExecutionTimeLineAnalyzer.GeneralExecutionLineAnalyzer

Parses lines for the execution time

__init__()[source]
Parameters
  • titles – The titles of the data elements

  • progressTemplate – Progress output to be reported

  • plotIterations – plot iterations instead of the real time

__module__ = 'PyFoam.LogAnalysis.ExecutionTimeLineAnalyzer'
PyFoam.LogAnalysis.ExecutionTimeLineAnalyzer.executionRegexp()[source]

@Return: The regular expression that parses the execution time depending on the OpenFOAM-Version