From d036ee32637c3ac343d2dfc5ff26c4a468510954 Mon Sep 17 00:00:00 2001 From: Tibor Frank Date: Thu, 1 Aug 2019 14:46:43 +0200 Subject: [PATCH] Trending: Improve log output Change-Id: I37464dc15749d0f59a3ee67651483d6bc1388316 Signed-off-by: Tibor Frank --- resources/tools/presentation/input_data_parser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/tools/presentation/input_data_parser.py b/resources/tools/presentation/input_data_parser.py index 69731be9f4..2c248fb3af 100644 --- a/resources/tools/presentation/input_data_parser.py +++ b/resources/tools/presentation/input_data_parser.py @@ -1330,8 +1330,8 @@ class InputData(object): self._cfg.set_input_state(job, build_nr, result["state"]) - logging.info("Memory allocation: {0}kB".format( - resource.getrusage(resource.RUSAGE_SELF).ru_maxrss)) + logging.info("Memory allocation: {0:,d}MB".format( + resource.getrusage(resource.RUSAGE_SELF).ru_maxrss / 1000)) logging.info("Done.") -- 2.16.6