arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1506.05893cs.PL
收藏

执行时间分析的系统测试

On Systematic Testing for Execution-Time Analysis

Daniel Bundala, Sanjit A. Seshia

摘要:

给定一个程序和一个时间截止日期,当程序在给定的平台上执行时,它是否在截止日期之前完成?由于在可能发生这种违规时需要生成测试用例,我们将此问题称为最坏情况执行时测试(WCETT)问题。在本文中,我们提出了一种解决无循环程序的WCETT问题的方法,该方法通过在少量仔细计算的输入上定时执行程序。然后,我们创建一个整数线性规划的解决方案,其中编码的最佳定时模型与测量一致的序列。通过求解程序,我们可以找到最坏情况的输入,以及估计任何其他输入的执行时间。我们的解决方案比以前的方法更准确,不太可能以前的工作,通过增加测量的数量,我们可以产生WCETT边界到任何所需的精度。一个程序的时间依赖于它执行的平台的属性。我们进一步展示了我们的方法可以用来量化底层平台的时间可重复性。

英文摘要:

Given a program and a time deadline, does the program finish before the deadline when executed on a given platform? With the requirement to produce a test case when such a violation can occur, we refer to this problem as the worst-case execution-time testing (WCETT) problem. In this paper, we present an approach for solving the WCETT problem for loop-free programs by timing the execution of a program on a small number of carefully calculated inputs. We then create a sequence of integer linear programs the solutions of which encode the best timing model consistent with the measurements. By solving the programs we can find the worst-case input as well as estimate execution time of any other input. Our solution is more accurate than previous approaches and, unlikely previous work, by increasing the number of measurements we can produce WCETT bounds up to any desired accuracy. Timing of a program depends on the properties of the platform it executes on. We further show how our approach can be used to quantify the timing repeatability of the underlying platform.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑