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 #1

Updated by François Cerbelle 3 months ago

  • Description updated (diff)
Actions #2

Updated by François Cerbelle 3 months ago

  • Status changed from Nouveau to En cours
Actions #3

Updated by François Cerbelle 3 months ago

  • % Done changed from 0 to 80
Actions #4

Updated by François Cerbelle 3 months ago

  • Status changed from En cours to Résolu
  • % Done changed from 80 to 100
Actions

Also available in: Atom PDF