...
首页> 外文期刊>Journal of Computers >Study on Approach of Determining Size of μC/OS-II Task Stack
【24h】

Study on Approach of Determining Size of μC/OS-II Task Stack

机译:确定μC/ OS-II任务堆栈大小的方法研究

获取原文
           

摘要

—When μC/OS-II is taken as the operating system of an embedded system, the stack size of every task is needed to be assigned, but it is difficult to determine the stack size of μC/OS-II task with existing methods. In this paper, an approach of determining stack size of μC/OS-II task was presented. In order to clarify the memory space size which is needed by single element in a μC/OS-II task stack, the contents of μC/OS-II task stack were analyzed. Secondly, some tree structures were defined, which can describe the extreme usage of task stack. Lastly, two formulas used to determine size of task stack were presented. As long as the source codes of μC/OS-II operating system and its task are obtained, the stack size of the task can be computed accurately with the approach presented by this paper. The result acquired with the approach is the maximum size of task stack, it can meet the needs of μC/OS-II task for stack space at any cases.
机译:- 当μC/ OS-II作为嵌入式系统的操作系统时,需要分配每个任务的堆栈大小,但很难使用现有方法确定μC/ OS-II任务的堆栈大小。在本文中,提出了一种确定×OS-II任务的堆栈大小的方法。为了阐明单个元素在μC/ OI-II任务堆栈中所需的存储空间大小,分析了μC/ OS-II任务堆栈的内容。其次,定义了一些树结构,其可以描述任务堆栈的极端使用情况。最后,呈现了用于确定任务堆栈大小的两个配方。只要获得μC/ OI操作系统的源代码及其任务,就可以使用本文呈现的方法准确地计算任务的堆栈大小。使用方法获取的结果是任务堆栈的最大大小,可以在任何情况下满足堆栈空间的μC/ OS-II任务的需求。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号