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

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

addToFiles(match)[source]
addToTimelines(match)[source]
clockFirst()[source]

Returns the Wall-Clock-Time of the first timestep

clockTotal()[source]

Returns the total Wall-Clock-Time

endAnalysis(match)[source]
resetFile()[source]
startAnalysis(match)[source]
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

PyFoam.LogAnalysis.ExecutionTimeLineAnalyzer.executionRegexp()[source]

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