【24h】

An Approach to Performance Evaluation Programming

机译:绩效评估规划的一种方法

获取原文

摘要

We present an experimental concurrent programming language LPEP which supports performance evaluation programming. An LPEP program is a collection of modules which are executed concurrently. The structure of an LPEP program is similar to the structure of a Continuous Time Markov Chain (CTMC) model expressed in the PRISM language (of the PRISM probabilistic model checker). However, LPEP is a programming language, not a model checker. Activities are abstracted in a PRISM CTMC model by their rates. In the language LPEP an activity is the evaluation of a function (expressed in a functional sub-language of LPEP ) in a certain state of a module. Each LPEP module contains a number of variables (which describe the possible states of the module) and a list of commands that can specify activities. LPEP supports variables of both primitive types (booleans and integers) and non-primitive types, e.g., lists. For the purpose of performance evaluation the programmer must bound the ranges of variables. Any value of a non-primitive type is handled according to its complexity (rather than its value). For example, the complexity of a list could be the length of the list, which must also be bounded. It is also the responsibility of the programmer to design each LPEP function by induction on an appropriate complexity measure which always decreases upon a recursive call. Performance evaluation is supported in LPEP by constructing a CTMC model from an LPEP program, and by analyzing the CTMC model using the PRISM tool.
机译:我们提出了一种实验性的并发编程语言LPEP,它支持性能评估编程。 LPEP程序是同时执行的模块的集合。 LPEP程序的结构类似于用PRISM语言(PRISM概率模型检查器)表达的连续时间马尔可夫链(CTMC)模型的结构。但是,LPEP是一种编程语言,而不是模型检查器。在PRISM CTMC模型中,按活动的速率将活动抽象化。用语言LPEP来说,活动是对模块某个状态下的功能(以LPEP的功能子语言表示)的评估。每个LPEP模块都包含许多变量(描述模块的可能状态)和可以指定活动的命令列表。 LPEP支持基本类型(布尔值和整数)和非基本类型(例如列表)的变量。为了进行性能评估,程序员必须对变量范围进行限制。非原始类型的任何值都是根据其复杂性(而不是其值)来处理的。例如,列表的复杂度可能是列表的长度,也必须加以限制。程序员还有责任通过对适当的复杂性度量进行归纳来设计每个LPEP函数,该度量在递归调用时总是会降低。通过从LPEP程序构建CTMC模型,并使用PRISM工具分析CTMC模型,LPEP支持性能评估。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号