首页> 外国专利> METHOD FOR THE FUNCTIONAL OPTIMISATION OF THE SEQUENCE OF A PROGRAM IN AN EMBEDDED SYSTEM

METHOD FOR THE FUNCTIONAL OPTIMISATION OF THE SEQUENCE OF A PROGRAM IN AN EMBEDDED SYSTEM

机译:嵌入式系统中程序序列的功能优化方法

摘要

The invention relates to a method for the functional optimisation of the sequence of a program in an embedded system. The program uses, for the sequence thereof, a stack of the embedded system, which is formed by a limited address range in a memory of the embedded system, and the size of which is defined by an address range having a lower address and an upper address. In the method according to the invention, a threshold value (SW) is defined for the stack, which is represented by an address of the stack, wherein said address is less than the upper address of the address range of the stack. Monitoring takes place to determine whether the program running on the embedded system using the stack reaches the address represented by the threshold value (SW). When the threshold value (SW) is reached, a predefined function is called up, by means of which the content of the stack is read out. It is determined from the content of the stack what part of the program has caused the predefined function to be called up. Finally, optimisation of the program and/or of the embedded system is carried out using the information about the part calling up.
机译:本发明涉及一种用于对嵌入式系统中的程序的顺序进行功能优化的方法。程序按其顺序使用嵌入式系统的堆栈,该堆栈是由嵌入式系统的内存中的有限地址范围形成的,其大小由具有低地址和高地址的地址范围定义地址。在根据本发明的方法中,为堆栈定义阈值(SW),其由堆栈的地址表示,其中所述地址小于堆栈的地址范围的高位地址。进行监视以确定使用堆栈在嵌入式系统上运行的程序是否达到阈值(SW)表示的地址。达到阈值(SW)时,将调用一个预定义的函数,通过该函数可以读取堆栈中的内容。根据堆栈的内容确定程序的哪个部分导致了预定义功能的调用。最后,使用关于调用部件的信息来执行程序和/或嵌入式系统的优化。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号