From 0541f2a16333ab1b9739eb3d2a72acbc67089ffc Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Tue, 22 Jan 2019 13:01:37 +0100 Subject: save all results by default in results/hostname/timestamp --- src/falsesharing.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/falsesharing.py') diff --git a/src/falsesharing.py b/src/falsesharing.py index 1e0ef18..57acf06 100644 --- a/src/falsesharing.py +++ b/src/falsesharing.py @@ -29,7 +29,7 @@ class Benchmark_Falsesharing( Benchmark ): def process_output(self, result, stdout, stderr, target, perm, verbose): result["time"] = time_re.match(stdout).group("time") - def summary(self, sumdir=None): + def summary(self): # Speedup thrash args = self.results["args"] nthreads = args["threads"] @@ -56,21 +56,19 @@ class Benchmark_Falsesharing( Benchmark ): plt.xlabel("threads") plt.ylabel("speedup") plt.title(bench + " speedup" ) - plt.savefig(os.path.join(sumdir, self.name + "." + bench + ".png")) + plt.savefig(self.name + "." + bench + ".png") plt.clf() self.plot_fixed_arg("({L1-dcache-load-misses}/{L1-dcache-loads})*100", ylabel="'l1 cache misses in %'", title = "'cache misses: ' + arg + ' ' + str(arg_value)", filepostfix = "l1-misses", - sumdir=sumdir, fixed=["bench"]) self.plot_fixed_arg("({LLC-load-misses}/{LLC-loads})*100", ylabel="'l1 cache misses in %'", title = "'LLC misses: ' + arg + ' ' + str(arg_value)", filepostfix = "llc-misses", - sumdir=sumdir, fixed=["bench"]) falsesharing = Benchmark_Falsesharing() -- cgit v1.2.3