Lines Matching refs:pool

4 … variety of memory debugging methods. Dynamic memory pool statistics helps you learn the memory po…
12 Memory information includes the memory pool size, memory usage, remaining memory size, maximum free…
14 …ximum memory used in a memory pool. The waterline value is updated upon each memory allocation and…
16 …n degree of the memory pool. If the fragmentation rate is high, there are a large number of free m…
18 …ment](kernel-mini-basic-memory.md) to scan node information in the memory pool and collect statist…
36 UINT32 totalUsedSize; // Memory usage of the memory pool.
37 UINT32 totalFreeSize; // Remaining size of the memory pool.
38 UINT32 maxFreeNodeSize; // Maximum size of the free memory block in the memory pool.
39 UINT32 usedNodeNum; // Number of non-free memory blocks in the memory pool.
40 UINT32 freeNodeNum; // Number of free memory blocks in the memory pool.
42 UINT32 usageWaterLine; // Waterline of the memory pool.
47 …oGet**. The first parameter in the API is the start address of the memory pool, and the second par…
49 …m free memory block size in the memory pool, and then calculate the fragmentation rate of the dyna…
56 1. Create a monitoring task to obtain information about the memory pool.
58 2. Calls **LOS_MemInfoGet** to obtain the basic information about the memory pool.
81 …/* pool is the memory address of the information to be collected. OS_SYS_MEM_ADDR is used as an ex…
82 void *pool = OS_SYS_MEM_ADDR;
83 LOS_MemInfoGet(pool, &poolStatus);
84 /* Calculate the fragmentation rate of the memory pool. */
86 /* Calculate the memory usage of the memory pool. */
87 float usage = LOS_MemTotalUsedGet(pool) * 100.0 / LOS_MemPoolSizeGet(pool);
149 …, information about all nodes that have been used in the specified memory pool is printed. You can…
276 …heck the integrity of a dynamic memory pool. This mechanism can detect memory corruption errors in…
283 1. If this macro is enabled, the memory pool integrity will be checked in real time upon each memor…
285 2. If this macro is not enabled, you can call **LOS_MemIntegrityCheck** to check the memory pool in…
291 …ised to disable this function and use **LOS_MemIntegrityCheck** to check the memory pool integrity.