aboutsummaryrefslogtreecommitdiff
path: root/src/allocators/scalloc.py
Commit message (Collapse)AuthorAgeFilesLines
* make the whole project more python idiomaticFlorian Fischer2020-06-021-55/+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-6/+8
|
* replace AllocatorSources with ArtifactsFlorian Fischer2019-09-211-19/+12
|
* improve code quality and add license headers to allocator definitionsFlorian Fischer2019-08-281-7/+26
|
* fix scalloc definitionFlorian Fischer2019-08-121-1/+1
|
* Use "git reset --hard" instead of "git stash"Florian Schmaus2019-08-121-1/+1
|
* Improve scalloc error messageFlorian Schmaus2019-08-121-2/+5
|
* 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".