Project

General

Profile

Actions

Evolution #375

open

Libmemtrack lstblock rename, nbblock rework and rename, sizeblocks addition

Added by François Cerbelle 3 months ago. Updated 3 months ago.

Status:
Résolu
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