Update memory pool size calculation

This commit is contained in:
a2x
2024-04-10 10:52:56 +10:00
parent 1059075dda
commit 9b8bd68308
2 changed files with 4 additions and 4 deletions

View File

@@ -62,7 +62,7 @@ where
self.entry_mem.peak_alloc
}
// TODO:
/// Returns a list of allocated or unallocated elements.
pub fn elements(&self, process: &mut IntoProcessInstanceArcBox<'_>) -> Result<Vec<D>> {
let blocks_alloc = self.blocks_alloc() as usize;
let peak_alloc = self.peak_count() as usize;