首页> 外文OA文献 >An approach to profiling for run-time checking of computational properties and performance debugging in logic programs.
【2h】

An approach to profiling for run-time checking of computational properties and performance debugging in logic programs.

机译:一种用于在逻辑程序中运行时检查计算属性和性能调试的性能分析方法。

摘要

Although several profiling techniques for identifying performance bottlenecks in logic programs have been developed, they are generally not automatic and in most cases they do not provide enough information for identifying the root causes of such bottlenecks. This complicates using their results for guiding performance improvement. We present a profiling method and tool that provides such explanations. Our profiler associates cost centers to certain program elements and can measure different types of resource-related properties that affect performance, preserving the precedence of cost centers in the call graph. It includes an automatic method for detecting procedures that are performance bottlenecks. The profiling tool has been integrated in a previously developedudrun-time checking framework to allow verification of certain properties when they cannot be verified statically. The approach allows checking global computational properties which require complex instrumentation tracking information about previous execution states, such as, e.g., that the execution time accumulated by a given procedure is not greater than a given bound. We have built a prototype implementation, integrated it in the Ciao/CiaoPP system and successfully applied it to performance improvement, automatic optimization (e.g., resource-aware specializationudof programs), run-time checking, and debugging of global computational properties (e.g., resource usage) in Prolog programs.
机译:尽管已经开发了几种用于识别逻辑程序中性能瓶颈的配置文件技术,但是它们通常不是自动的,并且在大多数情况下,它们没有提供足够的信息来识别此类瓶颈的根本原因。这会使他们的结果难以指导性能的提高。我们提供了提供这种解释的性能分析方法和工具。我们的探查器将成本中心与某些程序元素相关联,并可以测量影响性能的不同类型的资源相关属性,从而在调用图中保留成本中心的优先级。它包括一种用于检测性能瓶颈过程的自动方法。概要分析工具已集成在以前开发的 udrun-time检查框架中,以在无法静态验证某些属性时允许对其进行验证。该方法允许检查全局计算属性,该全局计算属性需要关于先前执行状态的复杂的仪器跟踪信息,例如,由给定过程累积的执行时间不大于给定界限。我们已经构建了一个原型实现,将其集成到Ciao / CiaoPP系统中,并将其成功地应用于性能改进,自动优化(例如,资源感知的专业化 udof程序),运行时检查以及全局计算属性的调试(例如, ,资源使用情况)。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号