aboutsummaryrefslogtreecommitdiff
path: root/src/allocators/BA_allocators.py
Commit message (Collapse)AuthorAgeFilesLines
* make the whole project more python idiomaticFlorian Fischer2020-06-021-24/+0
| | | | | | | | | * rename src directory to allocbench * make global variable names UPPERCASE * format a lot of code using yapf * use lowercase ld_preload and ld_library_path as Allocator members * name expected Errors 'err' and don't raise a new Exception * disable some pylint messages
* fmt all src/allocators using yapfFlorian Fischer2020-03-091-1/+0
|
* improve code quality and add license headers to allocator definitionsFlorian Fischer2019-08-281-0/+19
|
* rework allocator definitions #2Florian Fischer2019-06-241-19/+5
| | | | | | | | bench.py no evals only if argument to -a is file path. Otherwise it will check if "arg".py is found in src/allocators/ then it imports it. Collection definitions must export a iterable member called allocators. Allocator definitions must export a member named "arg".
* reduce code duplication by giving each known allocator its own classFlorian Fischer2019-06-171-0/+20
also move allocator related code to src/allocators