Project

General

Profile

Actions

Evolution #375

closed

Libmemtrack lstblock rename, nbblock rework and rename, sizeblocks addition

Added by François Cerbelle 11 months ago. Updated 5 months ago.

Status:
Fermé
Priority:
Normal
Target version:
Start date:
02/03/2024
Due date:
% Done:

100%

Estimated time:
1:00 h
Spent time:

Description

Rename lstblock to dumpblocks everywhere in the code
Rename nbblock to getnbblocks everywhere in the code
Update a private counter from addblock/delblock and return it from getnbblocks to achieve O(1) and not O(n)
Add a getsizeblocks to return to sum of allocated RAM
Update a private counter from addblock/delblock and return it from getsizeblocks to have O(1) and not O(n)

Actions

Also available in: Atom PDF