Lines Matching refs:memory
6 …rmation includes the memory pool size, memory usage, remaining memory size, maximum free memory, m…
8 …memory waterline indicates the maximum memory used in a memory pool. The waterline value is update…
10 …memory pool. If the fragmentation rate is high, there are a large number of free memory blocks in …
12 - You can use **LOS_MemInfoGet()** to scan the node information in the memory pool and collect the …
17 …memory information statistics function. This function is disabled by default. If you want to obtai…
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 …e memory waterline, call **LOS_MemInfoGet(VOID *pool, LOS_MEM_POOL_STATUS *poolStatus)**. The firs…
43 …memory fragmentation rate, call **LOS_MemInfoGet** to obtain the remaining memory size and the max…
45 Fragmentation rate = 100 – 100 x Maximum free memory block size/Remaining memory size
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.
56 3. Calculate the memory usage and fragmentation rate.
75 …/* pool is the memory address of the information to be collected. OS_SYS_MEM_ADDR is used as an ex…
78 /* Calculate the fragmentation rate of the memory pool. */
80 /* Calculate the memory usage of the memory pool. */