aboutsummaryrefslogtreecommitdiff
path: root/src/allocators/scalloc.py
Commit message (Collapse)AuthorAgeFilesLines
* check if vm.overcommit_memory is set before building scallocFlorian Fischer2019-08-111-0/+8
| | | | | | | Scalloc checks if it is allowed to overcommit memory at runtime and aborts. Calling abort() does not set an exit code and therefore does not trigger allocbenchs failure handling. To prevent crashing at runtime we now fail early.
* add default colors to included allocatorsFlorian Fischer2019-07-011-1/+1
|
* rework allocator definitions #2Florian Fischer2019-06-241-0/+30
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".