Memory management method and device therefor
A memory management and pointer technology, applied in the direction of memory address/allocation/relocation, memory system, electrical digital data processing, etc., can solve the problems of wasting data space, wasting available resources, increasing a copy, etc., to achieve optimized running speed, The effect of saving space and resources
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0023] Example of memory management method:
[0024] refer to figure 1 , figure 1 It is a flow chart of writing data in the embodiment of the memory management method. When internal memory is managed, at first execute step S11, promptly at first initialize the space of circular buffer, circular buffer is the circular buffer (buffer) that is opened on internal memory, set remaining space capacity simultaneously as the whole space capacity of circular buffer, Point the write pointer and read pointer to the first address of the circular buffer. Then execute step S12, that is, set the data end pointer (pEnd) as the end position of the circular buffer, that is, point the data end pointer to the position where the end address of the circular buffer is increased by 1. Then step S13 is executed to obtain the remaining capacity of the remaining space of the circular buffer, and then step S14 is executed to obtain the length of the target data. The target data refers to the data to b...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


