期刊文献+

基于树结构的μC/OS-Ⅱ任务栈空间计算方法及应用 被引量:1

Method of calculating stack space of μC/OS-Ⅱ task based on tree structure and its application
下载PDF
导出
摘要 针对用现有方法较难确定μC/OS-Ⅱ任务栈空间大小的问题,提出了基于树结构计算μC/OS-Ⅱ任务栈空间的方法。分析了任务栈空间结构,定义了能够表示栈空间最坏使用情况的树结构,提出了用树结构计算最坏情况下栈空间的计算公式,并计算了一个实际系统的栈空间。用该方法确定的任务栈空间能够准确地反映任务栈空间的最坏使用情况,同时还能够节约内存的使用。 Aiming at the problem that the stack space size of μC/OS-Ⅱ task is not easily confirmed by existing ways, this paper presented a new way by which the stack space size of μC/OS-Ⅱ task can be computed based on tree structure. Firstly, the stack space structure of μC/OS-Ⅱ task was analyzed. Secondly, some tree structures that can show the extreme usage of the stack space were defined. Lastly, the formula that can calculate the stack space which is maximal was presented based on tree structure and the stack space of a real system was calculated by the formula. The stack space size which is calculated by this way can reflect the extreme usage of a stack space factually and can reduce the requirement for RAM.
作者 张光建 刘政
出处 《计算机应用》 CSCD 北大核心 2009年第4期1165-1167,共3页 journal of Computer Applications
基金 重庆市自然科学基金资助项目(CSTC2007BB2409)
关键词 树结构 μC/OS-Ⅱ 任务 栈空间 函数 中断嵌套 tree structure μC/OS-Ⅱ task stack space function interrupt nesting
  • 相关文献

参考文献5

二级参考文献17

  • 1任重,邵军力.立体视觉中的双目匹配方法研究[J].信息与控制,2001,30(S1):727-730. 被引量:12
  • 2张志刚,陈静,李晓明.一种HTML网页净化方法[J].情报学报,2004,23(4):387-393. 被引量:57
  • 3王磊,莫玉龙,戚飞虎.基于Canny理论的边缘提取改善方法[J].中国图象图形学报(A辑),1996,1(3):191-195. 被引量:42
  • 4[2]MINGLUN GONG,YEE-HONG YANG.Genetic-Based Stereo Algorithm and Disparity Map Evaluation[J].International Journal of Computer Vision,2002,47(1-3):63-77.
  • 5[3]SONKA M,HLAVAC V,BOYLE R.图像处理、分析与机器视觉(第二版)[M].北京:人民邮电出版社,2002.
  • 6[7]YUAN JIANXING,SUEN CHING Y.An optimal O(n) algorithm for identifying line segments from a sequence of chain codes[J].Pattern Recognition,1995,28(5):635-646.
  • 7[8]AHUJA N.A transform for multiscale image segmentation by integrated edge and region detection[J].IEEE Transactions on Pattern Analysis and Machine Intelligence,1996,18(12):1211-1235.
  • 8[9]HUYNH DQ,OWENS RA.Line Labelling and Region Segmentation in Stereo Image Pairs[J].Image and Vision Computing,1994,12(4):213-225.
  • 9[10]LIU LIFENG, SCLAROFF STAN. Index trees for accelerating deformable template matching[J].Pattern Recognition Letters, 2002,23(12):1483-1493.
  • 10Alberto H F, Laender Berthier A. Ribeiro-Neto A Brief Survey of Web Data Extraction Tools [J]. ACM SIGMOD Record, 2002, 31 (2) : 84-93.

共引文献3

同被引文献4

引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部