From: Anthony Geay Date: Fri, 29 Dec 2023 15:55:28 +0000 (+0100) Subject: [EDF29150] : Fix bug on time spent for outputs in previous commit. X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d8e6c23d320948fcac523c26702b3cc0d974f0c7;p=modules%2Fkernel.git [EDF29150] : Fix bug on time spent for outputs in previous commit. --- diff --git a/src/Container/SALOME_ContainerHelper.py b/src/Container/SALOME_ContainerHelper.py index ca18ccefc..439be0215 100644 --- a/src/Container/SALOME_ContainerHelper.py +++ b/src/Container/SALOME_ContainerHelper.py @@ -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}