Package PyFoam :: Package LogAnalysis :: Module ExecutionTimeLineAnalyzer :: Class GeneralExecutionLineAnalyzer
[hide private]
[frames] | no frames]

Class GeneralExecutionLineAnalyzer

source code

                         object --+        
                                  |        
    LogLineAnalyzer.LogLineAnalyzer --+    
                                      |    
GeneralLineAnalyzer.GeneralLineAnalyzer --+
                                          |
                                         GeneralExecutionLineAnalyzer

Parses lines for the execution time

Instance Methods [hide private]
 
__init__(self, doTimelines=True, doFiles=True, singleFile=False, startTime=None, endTime=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
startAnalysis(self, match)
Method at the start of a successfull match
source code
 
endAnalysis(self, match)
Method at the end of a successfull match
source code
 
addToFiles(self, match)
Method that adds matched data to files
source code
 
addToTimelines(self, match)
Method that adds matched data to timelines
source code
 
clockFirst(self)
Returns the Wall-Clock-Time of the first timestep
source code
 
clockTotal(self)
Returns the total Wall-Clock-Time
source code
 
timeFirst(self)
Returns the CPU-Time of the first timestep
source code
 
timeTotal(self)
Returns the total CPU-Time
source code

Inherited from GeneralLineAnalyzer.GeneralLineAnalyzer: doAnalysis, getTimeline, setDirectory, setMaster, setTitles, tearDown, timeChanged

Inherited from LogLineAnalyzer.LogLineAnalyzer: addListener, getTime, goOn, notify, setParent

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, doTimelines=True, doFiles=True, singleFile=False, startTime=None, endTime=None)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Parameters:
  • titles - The titles of the data elements
Overrides: object.__init__
(inherited documentation)

startAnalysis(self, match)

source code 

Method at the start of a successfull match

Overrides: GeneralLineAnalyzer.GeneralLineAnalyzer.startAnalysis
(inherited documentation)

endAnalysis(self, match)

source code 

Method at the end of a successfull match

Overrides: GeneralLineAnalyzer.GeneralLineAnalyzer.endAnalysis
(inherited documentation)

addToFiles(self, match)

source code 

Method that adds matched data to files

Parameters:
  • match - data matched by a regular expression
Overrides: GeneralLineAnalyzer.GeneralLineAnalyzer.addToFiles
(inherited documentation)

addToTimelines(self, match)

source code 

Method that adds matched data to timelines

Parameters:
  • match - data matched by a regular expression
Overrides: GeneralLineAnalyzer.GeneralLineAnalyzer.addToTimelines
(inherited documentation)