检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:刘伟伟 LIU Weiwei(Nanjing Ningtainuo Technology Co.,Ltd.,Nanjing,Jiangsu 211899,China)
机构地区:[1]南京宁钛诺科技有限公司,江苏南京211899
出 处:《自动化应用》2024年第5期247-249,252,共4页Automation Application
摘 要:大多数小规模的嵌入式设备均不采用操作系统,而使用前后台系统进行功能设计开发。目前,在前后台系统下,尚无有效的方案实时反映任务及时性响应情况,无法监控功能偶发问题,导致功能缺陷出现。基于此,本文提出了一种基于前后台系统的CPU使用率计算方案,该方案通过统计周期内的触发次数、CPU使用率及极值实时反映任务及时性响应情况,并将该方案应用于GD32 MCU。结果表明,该方案能有效实时反映当前设备的整体运行状况,为设备功能的开发和测试提供有效支撑。Most small-scale embedded devices use a front-end and back-end system for functional design and development,rather than an operating system.Currently,there is no effective solution under the front-end and back-end system to reflect the real-time response of tasks and monitor occasional functional problems,which can result in functional defects.Therefore,a scheme for calculating CPU usage based on the front-end and back-end system is proposed in this paper.This scheme reflects the real-time response of tasks by counting trigger times,CPU usage,and extremes in a statistical cycle.It is applied to GD32 MCU.Experimental results show that this scheme can effectively reflect the overall running status of the device in real time and provide effective support for the development and testing of device functions.
关 键 词:前后台系统 任务及时性响应 CPU使用率 GD32
分 类 号:TP311[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:3.17.139.45