aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2019-04-02 14:15:27 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2019-04-02 14:15:27 +0200
commit8bb5a998c7d4c39e2375c42866402cfef18a44c8 (patch)
tree945b5d08e07ae71d7dc6f8b98c3c4bbcadb06cc3
parent7d89338bd2896f191e5ae4267adc170a206c4364 (diff)
downloadallocbench-8bb5a998c7d4c39e2375c42866402cfef18a44c8.tar.gz
allocbench-8bb5a998c7d4c39e2375c42866402cfef18a44c8.zip
add reset_cmd to Hoard
-rw-r--r--allocators/BA_allocators.py3
-rw-r--r--allocators/all.py3
2 files changed, 4 insertions, 2 deletions
diff --git a/allocators/BA_allocators.py b/allocators/BA_allocators.py
index b483ca4..5d29cb6 100644
--- a/allocators/BA_allocators.py
+++ b/allocators/BA_allocators.py
@@ -47,7 +47,8 @@ jemalloc = Alloc("jemalloc",
color="C4")
hoard = Alloc("Hoard", sources=Alloc_Src("Hoard",
- retrieve_cmds=["git clone https://github.com/emeryberger/Hoard.git"]),
+ retrieve_cmds=["git clone https://github.com/emeryberger/Hoard.git"],
+ reset_cmds=["git stash"]),
LD_PRELOAD="{srcdir}/src/libhoard.so",
build_cmds=["cd {srcdir}/src; make",
"mkdir {dir}"],
diff --git a/allocators/all.py b/allocators/all.py
index e5fee1a..beab283 100644
--- a/allocators/all.py
+++ b/allocators/all.py
@@ -55,7 +55,8 @@ jemalloc = Alloc("jemalloc",
"mkdir {dir}"])
hoard = Alloc("Hoard", sources=Alloc_Src("Hoard",
- retrieve_cmds=["git clone https://github.com/emeryberger/Hoard.git"]),
+ retrieve_cmds=["git clone https://github.com/emeryberger/Hoard.git"],
+ reset_cmds=["git stash"]),
LD_PRELOAD="{srcdir}/src/libhoard.so",
build_cmds=["cd {srcdir}/src; make",
"mkdir {dir}"],