diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2019-08-22 20:05:48 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2019-08-22 20:30:10 +0200 |
| commit | 2364ca102a265b713f423e7c54ccd118bbecd86a (patch) | |
| tree | d7618591e53f26eb9d280f1e80cabe03f7534ba5 /src/allocators/malt.py | |
| parent | a799b6e3996288ec9fb295bef5a5c4407f8da24c (diff) | |
| download | allocbench-2364ca102a265b713f423e7c54ccd118bbecd86a.tar.gz allocbench-2364ca102a265b713f423e7c54ccd118bbecd86a.zip | |
support chattymalloc as analyze fallback if malt is not available
bench.py saves the benchmark specific result directory in the
object member "result_dir". This member is used by the analyze
allocators to know where to write the trace files to.
Diffstat (limited to 'src/allocators/malt.py')
| -rw-r--r-- | src/allocators/malt.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/allocators/malt.py b/src/allocators/malt.py new file mode 100644 index 0000000..2a5b647 --- /dev/null +++ b/src/allocators/malt.py @@ -0,0 +1,6 @@ +from src.allocator import Allocator + +# result_dir and perm are substituted during Benchmark.run +cmd = "malt -o output:name={{result_dir}}/malt.{{perm}}.%3" + +malt = Allocator("malt", cmd_prefix=cmd) |
