diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2019-03-22 19:20:23 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2019-03-22 19:20:23 +0100 |
| commit | 415390baaf9cf3f1d56d614d664ec72968e7937b (patch) | |
| tree | a85eb3cfb490813126dd162e665718f6e2dd7c65 /src/benchmark.py | |
| parent | 179583714f9b8806390245f17d8a969aefeb1952 (diff) | |
| download | allocbench-415390baaf9cf3f1d56d614d664ec72968e7937b.tar.gz allocbench-415390baaf9cf3f1d56d614d664ec72968e7937b.zip | |
alwys reset LD_PRELOAD even when a exception occurs
Diffstat (limited to 'src/benchmark.py')
| -rw-r--r-- | src/benchmark.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/benchmark.py b/src/benchmark.py index 38cb5a4..3159fdd 100644 --- a/src/benchmark.py +++ b/src/benchmark.py @@ -48,6 +48,9 @@ class Benchmark (object): return nthreads + def __str__(self): + return self.name + def __init__(self): # Set default values for k in Benchmark.defaults: |
