文件名称:lecture2
介绍说明--下载内容均来自于网络,请自行研究使用
μC/OS-II中的任务管理,μC/OS-II提供的另一个系统任务是统计任务OSTaskStat( )。这个统计任务每秒计算一次CPU在单位时间内被使用的时间,并把计算结果以百分比的形式存放在变量OSCPUsage中,以便应用程序通过访问它来了解CPU的利用率,所以这个系统任务OSTaskStat( )叫做统计任务
-μC/OS-II in the Task Manager, μC/OS-II provides another system task is statistical tasks OSTaskStat (). This statistical tasks counted once per unit time is the CPU time used, and the calculated results are stored in the form of a percentage variable OSCPUsage in order to access it through the application to understand the CPU utilization, so this system tasks OSTaskStat ( ) called statistical tasks
-μC/OS-II in the Task Manager, μC/OS-II provides another system task is statistical tasks OSTaskStat (). This statistical tasks counted once per unit time is the CPU time used, and the calculated results are stored in the form of a percentage variable OSCPUsage in order to access it through the application to understand the CPU utilization, so this system tasks OSTaskStat ( ) called statistical tasks
(系统自动生成,下载前可以参看下载内容)
下载文件列表
电子讲稿2.ppt