added max heap size

This commit is contained in:
2026-06-11 15:52:01 +02:00
parent e46565edbf
commit 717966dea3
2 changed files with 8 additions and 0 deletions

View File

@@ -51,6 +51,7 @@ typedef struct _MIHP_HeapConfig
size_t MinMemoryAreaSize; // Must be a multiple of AllocationAlignment
size_t MaxMemoryAreaSize; // Must be a multiple of AllocationAlignment
size_t MaxHeapSize;
size_t MinTotalTraversalsBeforeHeapExpansion; // Minimal amounts of traversals during allocation before considering expanding the heap
uint8_t MinHeapTraversalPercentToExpand; // Minimal integer percent of the heap traversed before expanding the heap