diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2019-01-22 19:18:33 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2019-01-22 19:18:33 +0100 |
| commit | cddfdeddcc97872f928d8d1cbdcbc13e7f07c99f (patch) | |
| tree | b3418f755d29a34bab4ebd212ec53e2a9f7151b6 /src/targets.py | |
| parent | d236f892cc82f69b298c260913725ddfa4bea980 (diff) | |
| download | allocbench-cddfdeddcc97872f928d8d1cbdcbc13e7f07c99f.tar.gz allocbench-cddfdeddcc97872f928d8d1cbdcbc13e7f07c99f.zip | |
add custom target option
the custom target definitions must be a valid python script exporting
a global dictionary "targets".
Diffstat (limited to 'src/targets.py')
| -rw-r--r-- | src/targets.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/targets.py b/src/targets.py new file mode 100644 index 0000000..50fcab0 --- /dev/null +++ b/src/targets.py @@ -0,0 +1,19 @@ +targets = {"glibc" : { + "cmd_prefix" : "", + "binary_suffix" : "", + "LD_PRELOAD" : "", + "color" : "C1" + }, + "tcmalloc" : { + "cmd_prefix" : "", + "binary_suffix" : "", + "LD_PRELOAD" : "targets/libtcmalloc.so", + "color" : "C2" + }, + "jemalloc" : { + "cmd_prefix" : "", + "binary_suffix" : "", + "LD_PRELOAD" : "targets/libjemalloc.so", + "color" : "C3" + }, + } |
