aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2019-08-01 14:46:43 +0200
committerTibor Frank <tifrank@cisco.com>2019-08-01 14:46:43 +0200
commitd036ee32637c3ac343d2dfc5ff26c4a468510954 (patch)
tree8f2fae1b4398553e2e5fe9872adfc6ba5df1231e
parentb5170a2bc3f84815834e40923095b63879a7e4fa (diff)
Trending: Improve log output
Change-Id: I37464dc15749d0f59a3ee67651483d6bc1388316 Signed-off-by: Tibor Frank <tifrank@cisco.com>
-rw-r--r--resources/tools/presentation/input_data_parser.py4
1 files 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.")