Data Structures | |
| class | ScriptExecInfo |
| class | ScriptExecInfoDeco |
| class | ScriptInfoAbstract |
| class | ScriptInfoClt |
| class | ScriptInfo |
| class | ScriptInfoDeco |
| class | ContainerLogInfoAbstract |
| class | ContainerLogInfoClt |
| class | ContainerLogInfo |
| class | InOutputObjVisitorAbstract |
| class | InOutputObjVisitorIter |
| class | InOutputObjVisitor |
| class | ObjMemModel |
| class | FakeObjVisitor |
| class | InOutputObjVisitorCM |
| class | OffsetType |
| class | DistriutionClass |
| class | DistributionOfExecs |
Functions | |
| def | unserializeInt (structData, offset) |
| def | unserializeString (structData, offset) |
| def | unserializeContainerScriptExecPerfLog (structData, offset) |
| def | unserializeContainerScriptPerfLog (structData, offset) |
| def | unserializeContainerPerfLog (structData, offset) |
| def | unserializeLogManager (structData) |
| def | ListAllExecContainIn (listOfContainerLogInfo) |
| def | ListAllExecFinishedContainIn (listOfContainerLogInfo) |
| def | IsExecTimeHigherThan (execInstDeco, limitDuration) |
| def | GetMaxTimeExec (listOfFinishedExecs) |
| def | GetMinTimeExec (listOfFinishedExecs) |
| def SALOME_ContainerHelper.GetMaxTimeExec | ( | listOfFinishedExecs | ) |
Returns the instance among listOfFinishedExecs that spends the max time to be executed Args: ----- listOfFinishedExecs ( list<ScriptExecInfoDeco> ) : instance of ScriptExecInfoDeco that have finished to be executed Typically returned by ListAllExecFinishedContainIn Returns ------- ScriptExecInfoDeco :
Referenced by SALOME_ContainerHelper.DistributionOfExecs.ComputeDistributionOfExecTime().
| def SALOME_ContainerHelper.GetMinTimeExec | ( | listOfFinishedExecs | ) |
Returns the instance among listOfFinishedExecs that spends the min time to be executed Args: ----- listOfFinishedExecs ( list<ScriptExecInfoDeco> ) : instance of ScriptExecInfoDeco that have finished to be executed Typically returned by ListAllExecFinishedContainIn Returns ------- ScriptExecInfoDeco :
Referenced by SALOME_ContainerHelper.DistributionOfExecs.ComputeDistributionOfExecTime().
| def SALOME_ContainerHelper.IsExecTimeHigherThan | ( | execInstDeco, | |
| limitDuration | |||
| ) |
Example of Usage : [elt for elt in allexecs if IsExecTimeHigherThan(elt,datetime.timedelta(hours=1))] Args: ----- execInstDeco (ScriptExecInfoDeco) limitDuration (datetime.timedelta) Ex (datetime.timedelta(hours=1))
| def SALOME_ContainerHelper.ListAllExecContainIn | ( | listOfContainerLogInfo | ) |
For all ContainerLogInfo contained in listOfContainerLogInfo extract all ScriptExecInfo contained recursively in it. This method filters all "side" executions like those positionning environment for exemple. See also : ListAllExecFinishedContainIn Args: ----- listOfContainerLogInfo (list<ContainerLogInfo>) : instance typically returned by salome.LogManagerLoadFromFile Returns ------- list<ScriptExecInfoDeco> : all ScriptExecInfoDeco instance contained recursively in all input ContainerLogInfo instances
Referenced by ListAllExecFinishedContainIn().
| def SALOME_ContainerHelper.ListAllExecFinishedContainIn | ( | listOfContainerLogInfo | ) |
For all ContainerLogInfo contained in listOfContainerLogInfo extract all ScriptExecInfo contained recursively in it. This method filters all "side" executions like those positionning environment for exemple and those not finished. See also : ListAllExecContainIn Args: ----- listOfContainerLogInfo (list<ContainerLogInfo>) : instance typically returned by salome.LogManagerLoadFromFile Returns ------- list<ScriptExecInfoDeco> : all ScriptExecInfoDeco instance contained recursively in all input ContainerLogInfo instances
References ListAllExecContainIn().
| def SALOME_ContainerHelper.unserializeContainerPerfLog | ( | structData, | |
| offset | |||
| ) |
References unserializeContainerScriptPerfLog(), unserializeInt(), and unserializeString().
Referenced by unserializeLogManager().
| def SALOME_ContainerHelper.unserializeContainerScriptExecPerfLog | ( | structData, | |
| offset | |||
| ) |
References unserializeInt().
Referenced by unserializeContainerScriptPerfLog().
| def SALOME_ContainerHelper.unserializeContainerScriptPerfLog | ( | structData, | |
| offset | |||
| ) |
References unserializeContainerScriptExecPerfLog(), unserializeInt(), and unserializeString().
Referenced by unserializeContainerPerfLog().
| def SALOME_ContainerHelper.unserializeInt | ( | structData, | |
| offset | |||
| ) |
| def SALOME_ContainerHelper.unserializeLogManager | ( | structData | ) |
References unserializeContainerPerfLog(), and unserializeInt().
Referenced by salome.LogManagerFetch(), KERNEL_PY.LogManagerFetch(), salome.LogManagerLoadFromFile(), and KERNEL_PY.LogManagerLoadFromFile().
| def SALOME_ContainerHelper.unserializeString | ( | structData, | |
| offset | |||
| ) |
References unserializeInt().
Referenced by unserializeContainerPerfLog(), and unserializeContainerScriptPerfLog().