From d8e6c23d320948fcac523c26702b3cc0d974f0c7 Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Fri, 29 Dec 2023 16:55:28 +0100 Subject: [PATCH] [EDF29150] : Fix bug on time spent for outputs in previous commit. --- src/Container/SALOME_ContainerHelper.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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} -- 2.39.2