首页> 外文OA文献 >A Framework for Verification and Debugging of Resource Usage Properties: Resource Usage Verification
【2h】

A Framework for Verification and Debugging of Resource Usage Properties: Resource Usage Verification

机译:资源使用属性的验证和调试框架:资源使用验证

代理获取
本网站仅为用户提供外文OA文献查询和代理获取服务,本网站没有原文。下单后我们将采用程序或人工为您竭诚获取高质量的原文,但由于OA文献来源多样且变更频繁,仍可能出现获取不到、文献不完整或与标题不符等情况,如果获取不到我们将提供退款服务。请知悉。

摘要

We present a framework for (static) verification of general resource usage program properties. The framework extends the criteria of correctness as the conformance of a program to a specification expressing non-functional global properties, such as upper and lower bounds on execution time, memory, energy, or user defined resources, given as functions on input data sizes. A given specification can include both lower and upper bound resource usage functions, i.e., it can express intervals where the resource usage is supposed to be included in. We have defined an abstract semantics for resource usage properties and operations to compare the (approximated) intended semantics of a program (i.e., the specification) with approximated semantics inferred by static analysis. These operations include the comparison of arithmetic functions (e.g., polynomial, exponential or logarithmic functions). A novel aspect of our framework is that the static checking of assertions generates answers that include conditions under which a given specification can be proved or disproved. For example, these conditions can express intervals of input data sizes such that a given specification can be proved for some intervals but disproved for others. We have implemented our techniques within the Ciao/CiaoPP system in a natural way, so that the novel resource usage verification blends in with the CiaoPP framework that unifies static verification and static debugging (as well as run-time verification and unit testing).
机译:我们提供了一个用于(静态)验证常规资源使用程序属性的框架。该框架将正确性的标准(作为程序的一致性)扩展到表示非功能全局属性的规范,例如,执行时间,内存,能源或用户定义的资源的上限和下限,这些功能作为输入数据大小的函数给出。给定的规范可以同时包含上限和下限的资源使用函数,即可以表达应该包含资源使用的间隔。我们为资源使用属性和操作定义了抽象语义,以比较预期的(近似值)程序的语义(即规范),具有通过静态分析推断出的近似语义。这些运算包括算术函数(例如多项式,指数或对数函数)的比较。我们框架的一个新颖方面是,对断言的静态检查会生成答案,其中包括可以证明或拒绝给定规范的条件。例如,这些条件可以表示输入数据大小的间隔,这样就可以证明给定的规范适用于某些间隔,而不能适用于其他规范。我们已经以自然的方式在Ciao / CiaoPP系统中实现了我们的技术,因此,新颖的资源使用验证与CiaoPP框架融为一体,该框架统一了静态验证和静态调试(以及运行时验证和单元测试)。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号