检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:樊利军[1] 田柏林 彭淑梅[3] FAN Lijun;TIAN Bolin;PENG Shumei(School of Information Engineering,Beijing Polytechnic College,Beijing 100042,China;Beijing Coal Mining Electric Equipment and Technique Development Co.,Ltd.,Beijing 100042,China;School of Fundamental Education,Beijing Polytechnic College,Beijing 100042,China)
机构地区:[1]北京工业职业技术学院信息工程学院,北京100042 [2]北京市煤炭矿用机电设备技术开发公司,北京100042 [3]北京工业职业技术学院基础教育学院,北京100042
出 处:《北京工业职业技术学院学报》2024年第1期6-10,共5页Journal of Beijing Polytechnic College
基 金:2019年北京工业职业技术学院应用性招标课题(BGY2019KY-05ZY);2023年北京工业职业技术学院科研课题(BGY2023KY-53)。
摘 要:针对常用环形缓冲区读写数据运行效率低的弊端,提出了一种快速读写环形缓冲区数据的方法。在读写缓冲区数据时,通过位与逻辑运算修改读写指针值,利用读写指针的差值作为缓冲区有效数据个数实现环形缓冲区状态判断。通过仿真测试实验和测试数据分析,这种快速读写环形缓冲区的方法可以显著提高系统运行效率。In view of the low efficiency of reading and writing data in the common ring buffer,a fast method for reading and writing ring buffer data is proposed.When reading and writing buffer data,modify the read and write pointer value through bit and logic operations,and use the difference between the read and write pointers as the number of effective data in the buffer to determine the status of the circular buffer.Through simulation testing experiments and data analysis,this fast method of reading and writing ring buffers can significantly improve the efficiency of system operation.
关 键 词:环形缓冲区 嵌入式系统 环形缓冲区状态 位与逻辑运算
分 类 号:TP319[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:3.17.60.86