首页> 外文会议>International symposium on formal methods >Upper and Lower Amortized Cost Bounds of Programs Expressed as Cost Relations
【24h】

Upper and Lower Amortized Cost Bounds of Programs Expressed as Cost Relations

机译:以成本关系表示的程序的上,下摊销成本界限

获取原文

摘要

Resource analysis aims at statically obtaining bounds on the resource consumption of programs in terms of input parameters. A well known approach to resource analysis is based on transforming the target program into a set of cost relations, then solving these into a closed-form bound. In this paper we develop a new analysis for computing upper and lower cost bounds of programs expressed as cost relations. The analysis is compositional: it computes the cost of each loop or function separately and composes the obtained expressions to obtain the total cost. Despite being modular, the analysis can obtain precise upper and lower bounds of programs with amortized cost. The key is to obtain bounds that depend on the values of the variables at the beginning and at the end of each program part. In addition we use a novel cost representation called cost structure. It allows to reduce the inference of complex polynomial expressions to a set of linear problems that can be solved efficiently. We implemented our method and performed an extensive experimental evaluation that demonstrates its power.
机译:资源分析的目的是根据输入参数静态地获取程序资源消耗的界限。一种众所周知的资源分析方法是基于将目标程序转换为一组成本关系,然后将它们解决为封闭形式的边界。在本文中,我们开发了一种新的分析方法,用于计算以成本关系表示的程序的成本上限和成本下限。分析是组成性的:它分别计算每个循环或函数的成本,并组合所获得的表达式以获得总成本。尽管是模块化的,但分析仍可以按摊销成本获得程序的精确上限和下限。关键是要获得一个界限,该界限取决于每个程序部分开头和结尾的变量值。此外,我们使用一种称为成本结构的新颖成本表示法。它允许将复杂多项式表达式的推理减少到可以有效解决的一组线性问题。我们实施了我们的方法,并进行了广泛的实验评估,证明了其功能。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号