首页>
外国专利>
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.
展开▼