mirror of
https://github.com/apache/nuttx.git
synced 2026-05-24 07:46:16 +08:00
cmd/free: add nused/nfree field in command free
Change-Id: I74aa4b1e7394a17c3b117322a4cc24aa52aac3b8 Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
This commit is contained in:
committed by
Brennan Ashton
parent
7a49fade03
commit
fea1da2f53
@@ -40,6 +40,7 @@ struct mallinfo
|
||||
int arena; /* This is the total size of memory allocated
|
||||
* for use by malloc in bytes. */
|
||||
int ordblks; /* This is the number of free (not in use) chunks */
|
||||
int aordblks; /* This is the number of allocated (in use) chunks */
|
||||
int mxordblk; /* Size of the largest free (not in use) chunk */
|
||||
int uordblks; /* This is the total size of memory occupied by
|
||||
* chunks handed out by malloc. */
|
||||
|
||||
Reference in New Issue
Block a user