From f4eed31a2b07d27fd8ba0d924fe643d492993c2b Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Tue, 11 Feb 2020 14:28:04 +0100 Subject: format dj_trace.py using yapf --- src/benchmarks/dj_trace.py | 317 ++++++++++++++++++++++++++++----------------- 1 file changed, 201 insertions(+), 116 deletions(-) diff --git a/src/benchmarks/dj_trace.py b/src/benchmarks/dj_trace.py index 3d109aa..4730db3 100644 --- a/src/benchmarks/dj_trace.py +++ b/src/benchmarks/dj_trace.py @@ -14,7 +14,6 @@ # # You should have received a copy of the GNU General Public License # along with allocbench. If not, see . - """Benchmark definition using the traces collected by DJ Delorie""" import os @@ -25,13 +24,12 @@ from urllib.request import urlretrieve import matplotlib.pyplot as plt import numpy as np -from src.globalvars import summary_file_ext - from src.artifact import ArchiveArtifact from src.benchmark import Benchmark +from src.globalvars import summary_file_ext +import src.plots as abplt from src.util import print_status - COMMA_SEP_NUMBER_RE = "(?:\\d*(?:,\\d*)?)*" RSS_RE = f"(?P{COMMA_SEP_NUMBER_RE})" TIME_RE = f"(?P