aboutsummaryrefslogtreecommitdiff
path: root/src/falsesharing.py
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2019-02-01 16:35:20 +0100
committerFlorian Fischer <florian.fl.fischer@fau.de>2019-02-01 16:35:20 +0100
commit130765de719a3ddc475284e13749d09ff371a8e1 (patch)
treec45ea8d47e53481022d641336ec2abd5cb588111 /src/falsesharing.py
parent8221b8fb0e9ee491590932cd228f17b48155c0f7 (diff)
downloadallocbench-130765de719a3ddc475284e13749d09ff371a8e1.tar.gz
allocbench-130765de719a3ddc475284e13749d09ff371a8e1.zip
rework build system #1
each benchmark has its own Makefile which must put it's binaries into OBJDIR which is added to the PATH during execution.
Diffstat (limited to 'src/falsesharing.py')
-rw-r--r--src/falsesharing.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/falsesharing.py b/src/falsesharing.py
index 57acf06..6c4ddc0 100644
--- a/src/falsesharing.py
+++ b/src/falsesharing.py
@@ -16,14 +16,14 @@ class Benchmark_Falsesharing( Benchmark ):
on the same cache line the writes will be expensive because
of cache thrashing."""
- self.cmd = "build/cache-{bench}{binary_suffix} {threads} 100 8 1000000"
+ self.cmd = "cache-{bench}{binary_suffix} {threads} 100 8 1000000"
self.args = {
"bench" : ["thrash", "scratch"],
"threads" : range(1, multiprocessing.cpu_count() * 2 + 1)
}
- self.requirements = ["build/cache-thrash", "build/cache-scratch"]
+ self.requirements = ["cache-thrash", "cache-scratch"]
super().__init__()
def process_output(self, result, stdout, stderr, target, perm, verbose):