]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
[EDF29150] : Fix bug on time spent for outputs in previous commit.
authorAnthony Geay <anthony.geay@edf.fr>
Fri, 29 Dec 2023 15:55:28 +0000 (16:55 +0100)
committerAnthony Geay <anthony.geay@edf.fr>
Fri, 29 Dec 2023 15:55:28 +0000 (16:55 +0100)
src/Container/SALOME_ContainerHelper.py

index ca18ccefc068b7793773eecb99623e1c1275d0ee..439be02155b99a674af246099d13ba756cbf37bd 100644 (file)
@@ -166,13 +166,17 @@ class ScriptExecInfo:
     @property
     def inputTimeStr(self):
        return ScriptExecInfo.GetRepresentationOfTimeDelta(self.endInputTime,self.startInputTime)
+    
+    @property
+    def outputTimeStr(self):
+       return ScriptExecInfo.GetRepresentationOfTimeDelta(self.endOutputTime,self.startOutputTime)
 
     def __str__(self):
       return """start exec time = {self.startExecTime}
 end exec time = {self.endExecTime}
 exec_time = {self.execTimeStr}
 input unpickling and ev load from disk time = {self.inputTimeStr}
-output serialization and ev write to disk time = {self.inputTimeStr}
+output serialization and ev write to disk time = {self.outputTimeStr}
 input memory size before exec (MemoryPeak 2x) = {self.inputMemStr}
 input memory size from HDD = {self.inputHDDMemStr}
 output memory size after exec (MemoryPeak 2x) = {self.outputMemStr}