首页> 外国专利> MEASURING SYSTEM AND METHOD OF WORST-CASE EXECUTION TIME USING TEST TECHNIQUES

MEASURING SYSTEM AND METHOD OF WORST-CASE EXECUTION TIME USING TEST TECHNIQUES

机译:测试技术的最坏情况执行时间测量系统和方法

摘要

The present invention relates to a system and method for measuring the worst execution time of a real time program using a cycle table and a test case together. The system for measuring the worst execution time includes: a cycle table generation unit for generating a cycle table by analyzing a relationship between a source code of a first real-time application program and a corresponding assembly instruction; a program code analyzer for analyzing the source code of the second real-time application program; a program code extension unit for inserting the required cycle calculation code and route identification probe code into the source code of the second real-time application program; a test case generation unit for generating a test case based on a result of analyzing a control flow of the second real-time application program; a program execution unit for executing the second real-time application program based on the generated test case and storing the required time for each execution path; and a worst execution time extraction unit for extracting a longest execution time among the required execution time for each stored execution path.
机译:本发明涉及用于一起使用循环表和测试用例来测量实时程序的最差执行时间的系统和方法。用于测量最坏执行时间的系统包括:周期表生成单元,用于通过分析第一实时应用程序的源代码和相应的汇编指令之间的关系来生成周期表;以及程序代码分析器,用于分析第二实时应用程序的源代码;程序代码扩展单元,用于将所需的周期计算代码和路径识别探测代码插入第二实时应用程序的源代码中;测试用例生成单元,用于基于分析第二实时应用程序的控制流程的结果来生成测试用例;程序执行单元,用于基于所生成的测试用例执行第二实时应用程序,并存储每个执行路径所需的时间;最坏执行时间提取单元,用于为每个存储的执行路径提取所需执行时间中最长的执行时间。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号