论文部分内容阅读
SPARC体系结构采用了寄存器窗口机制,由此带来的寄存器窗口溢出陷阱对采用此体系结构的实时系统的时间分析造成困难。针对溢出陷阱处理开销影响任务最差执行时间分析的问题,提出利用系统中任务的函数调用关系和中断嵌套关系确定任务程序中可能发生的溢出陷阱次数上界,将溢出陷阱的处理时间开销加入到任务最差执行时间的计算中。仿真结果表明,所述方法是安全的和精确的。
The register windowing mechanism is used in the SPARC architecture, and the resulting register window overflow trap causes difficulties in time analysis of real-time systems using this architecture. In view of the problem that the overflow trap processing cost affects the worst execution time of the task, this paper proposes to use the function call relationship of the task in the system and the interrupt nesting relationship to determine the upper bound of the number of overflow traps that may occur in the task program, and to add the processing time overhead of the overflow trap To calculate the worst execution time of the task. Simulation results show that the method is safe and accurate.