Lines Matching refs:pool

6 Memory information includes the memory pool size, memory usage, remaining memory size, maximum free…
8 …um memory used in a memory pool. The waterline value is updated each time the memory is allocated …
10 …n degree of the memory pool. If the fragmentation rate is high, there are a large number of free m…
12 - You can use **LOS_MemInfoGet()** to scan the node information in the memory pool and collect the …
17 …y waterline, enable it in **Debug-> Enable MEM Debug-> Enable memory pool waterline or not**.
30 UINT32 totalUsedSize; // Memory usage of the memory pool.
31 UINT32 totalFreeSize; // Remaining size of the memory pool.
32 UINT32 maxFreeNodeSize; // Maximum size of the free memory block in the memory pool.
33 UINT32 usedNodeNum; // Number of non-free memory blocks in the memory pool.
34 UINT32 freeNodeNum; // Number of free memory blocks in the memory pool.
36 UINT32 usageWaterLine; // Waterline of the memory pool.
41 …*LOS_MemInfoGet(VOID *pool, LOS_MEM_POOL_STATUS *poolStatus)**. The first parameter specifies the …
43 …m free memory block size in the memory pool, and then calculate the fragmentation rate of the dyna…
52 1. Create a monitoring task to obtain information about the memory pool.
54 2. Call **LOS_MemInfoGet** to obtain the basic information about the memory pool.
75 …/* pool is the memory address of the information to be collected. OS_SYS_MEM_ADDR is used as an ex…
76 void *pool = OS_SYS_MEM_ADDR;
77 LOS_MemInfoGet(pool, &poolStatus);
78 /* Calculate the fragmentation rate of the memory pool. */
80 /* Calculate the memory usage of the memory pool. */
81 unsigned char usage = LOS_MemTotalUsedGet(pool) * 100 / LOS_MemPoolSizeGet(pool);