arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv cs/0701108cs.PL
收藏

基于静态分析和剖析的逻辑程序执行时间估计

Towards Execution Time Estimation for Logic Programs via Static Analysis and Profiling

Edison Mera, Pedro Lopez-Garcia, German Puebla, Manuel Carro, Manuel Hermenegildo

摘要:

已经提出了有效的静态分析,其推断分辨率或缩减的数量的界限。这些具有独立于执行程序的平台的优点,并且已经被证明在许多应用中是有用的,例如并行执行中的粒度控制。另一方面,在具有不同功能的平台发挥作用的分布式计算场景中,有必要在包括平台特征的度量中表达成本。特别是,能够推断实际执行时间的上限和下限特别有趣。考虑到这一目标,我们提出了一种方法,它结合了编译时分析的成本界限与一次性的分析平台,以确定某些参数的值为一个给定的平台。这些参数校准成本模型,从那时起,该成本模型能够静态地计算过程的时间约束函数,并且能够以显著的准确度预测给定平台中的这些过程的执行时间。该方法已在CiaoPP系统中实现并集成。

英文摘要:

Effective static analyses have been proposed which infer bounds on the number of resolutions or reductions. These have the advantage of being independent from the platform on which the programs are executed and have been shown to be useful in a number of applications, such as granularity control in parallel execution. On the other hand, in distributed computation scenarios where platforms with different capabilities come into play, it is necessary to express costs in metrics that include the characteristics of the platform. In particular, it is specially interesting to be able to infer upper and lower bounds on actual execution times. With this objective in mind, we propose an approach which combines compile-time analysis for cost bounds with a one-time profiling of the platform in order to determine the values of certain parameters for a given platform. These parameters calibrate a cost model which, from then on, is able to compute statically time bound functions for procedures and to predict with a significant degree of accuracy the execution times of such procedures in the given platform. The approach has been implemented and integrated in the CiaoPP system.

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

↑