X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Ftools%2Fpresentation%2Finput_data_parser.py;h=3b3be9f1cd9a3c6d3815ad71946cd4991a8d5bb8;hb=7b1f19c0c338f5d8eb65fb45b57bb5de84398762;hp=69731be9f4c21aab0e2aa927c8e000f475082eaf;hpb=b5170a2bc3f84815834e40923095b63879a7e4fa;p=csit.git diff --git a/resources/tools/presentation/input_data_parser.py b/resources/tools/presentation/input_data_parser.py index 69731be9f4..3b3be9f1cd 100644 --- a/resources/tools/presentation/input_data_parser.py +++ b/resources/tools/presentation/input_data_parser.py @@ -19,8 +19,6 @@ - filter the data using tags, """ -import multiprocessing -import os import re import resource import pandas as pd @@ -38,7 +36,6 @@ from json import loads from jumpavg.AvgStdevMetadataFactory import AvgStdevMetadataFactory from input_data_files import download_and_unzip_data_file -from utils import Worker # Separator used in file names @@ -1330,8 +1327,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.")