Ioannis Koutras
|
acee701a09
Create WITH_SINGLE_ALLOCATOR flag
|
13 år sedan |
Ioannis Koutras
|
8977e09cbc
Refactor sys_alloc() and memory space awareness
|
13 år sedan |
Ioannis Koutras
|
473b1b276f
Improve support for request size on the block header
|
13 år sedan |
Ioannis Koutras
|
8eb08a1ee7
Large update on stats
|
13 år sedan |
Ioannis Koutras
|
dfa095c4fd
Make REPLACE_MALLOC directive obsolete, dmmlib now accepts malloc(), free() and realloc() calls directly
|
13 år sedan |
Ioannis Koutras
|
e75aad8541
New feature: Count hops.
|
13 år sedan |
Ioannis Koutras
|
74715a865a
Fit percentage for good-fit and search policy per heap is moved to knobs.
|
13 år sedan |
Ioannis Koutras
|
9495c12fa5
Support to change search policy on design time and/or runtime.
|
13 år sedan |
Ioannis Koutras
|
ee4b032338
mark_used() and mark_free() now properly mark the previous_size record of the next block if there is one.
|
13 år sedan |
Ioannis Koutras
|
89ce612d97
It is safe to use bool datatypes in Leon3 platform.
|
13 år sedan |
Ioannis Koutras
|
6312088e35
Prevent overflow of new_size, check if new_size is also equal to min_split_size, mark block as used regardless of splitting's activation.
|
13 år sedan |
Ioannis Koutras
|
16ad57625b
Block is always marked used as used, no need to mark it inside a split try.
|
13 år sedan |
Ioannis Koutras
|
beb0dcc26d
Disabled used blocks head and roving pointer for the time being.
|
13 år sedan |
Ioannis Koutras
|
84e4947ba2
No need to check ptr for NULL before searching the free list if the fixed lists are disabled.
|
13 år sedan |
Ioannis Koutras
|
8929219116
Fixed major bug in push_block.
|
13 år sedan |
Ioannis Koutras
|
d4a491cd35
Got rid of requested_size in case we don't need it.
|
13 år sedan |
Ioannis Koutras
|
a85e415824
Set size now takes place along with marking blocks as used/free.
|
13 år sedan |
Ioannis Koutras
|
e619ebe5ab
Initial support for Leon3 platform.
|
13 år sedan |
Ioannis Koutras
|
baa748229c
Added option to enable / disable stats.
|
13 år sedan |
Ioannis Koutras
|
a60756d022
Created options for enabling fixed lists and adaptive functions.
|
13 år sedan |
Ioannis Koutras
|
2e7d3c4dea
Disabled temporarily knobs and dmm_adaptor.
|
13 år sedan |
Ioannis Koutras
|
b88cc334a6
Keep better track of mem_allocated and mem_requested.
|
14 år sedan |
Ioannis Koutras
|
6e53d0f490
Refactored the code to push block on a list's head.
|
14 år sedan |
Ioannis Koutras
|
e75ad753c9
head_id is not needed on memory space-aware allocators.
|
14 år sedan |
Ioannis Koutras
|
969a004a64
Initial support for doubly linked lists, unified linked lists source files.
|
14 år sedan |
Ioannis Koutras
|
5fc32c7e67
All the source files are now released under the Apache 2.0 license.
|
14 år sedan |
Ioannis Koutras
|
3c1f4804f1
Added exact-, first- and best-Fit search algorithms for singly linked freelist.
|
14 år sedan |
Ioannis Koutras
|
3636ba9139
Created function to search fixed lists.
|
14 år sedan |
Ioannis Koutras
|
7861af6e17
Proper support of splitting for both fixed and variable min splitting block size.
|
14 år sedan |
Ioannis Koutras
|
7744f89706
The knobs are now guarded with WITH_KNOBS.
|
14 år sedan |