Probabilistic Resource Analysis by Program Transformation
نویسندگان
چکیده
The aim of a probabilistic resource analysis is to derive a probability distribution of possible resource usage for a program from a probability distribution of its input. We present an automated multiphase rewriting based method to analyze programs written in a subset of C. It generates a probability distribution of the resource usage as a possibly uncomputable expression and then transforms it into a closed form expression using over-approximations. We present the technique, outline the implementation and show results from experiments with the system.
منابع مشابه
پخش بار احتمالاتی با استفاده از تبدیل بی بوی کروی
Today's with the increasing development of distributed energy resources, power system analysis has been entered a new level of attention. Since the majority of these types of energy resources are affected by environmental conditions, the uncertainty in the power system has been expanded; so probabilistic analysis has become more important. Among the various methods of probabilistic analysis, po...
متن کاملTowards Data-Aware Resource Analysis for Service Orchestrations
Compile-time program analysis techniques can be applied to Web service orchestrations to prove or check various properties. In particular, service orchestrations can be subjected to resource analysis, in which safe approximations of upper and lower resource usage bounds are deduced. A uniform analysis can be simultaneously performed for different generalized resources that can be directly corre...
متن کاملBounded Expectations: Resource Analysis for Probabilistic Programs
Following the increasing relevance of probabilistic programming, there is a renewed interest in addressing the challenges that probabilistic code bears for static reasoning. For example, there are successful techniques for automatic worst-case resource analysis but these techniques are not applicable to many probabilistic programs, which, for instance, only terminate almost surely. This paper p...
متن کاملProbabilistic Output Analysis by Program Manipulation
The aim of a probabilistic output analysis is to derive a probability distribution of possible output values for a program from a probability distribution of its input. We present a method for performing static output analysis, based on program transformation techniques. It generates a probability function as a possibly uncomputable expression in an intermediate language. This program is then a...
متن کاملA Probabilistic Model of Learning Fields in Islamic Economics and Finance
In this paper an epistemological model of learning fields of probabilistic events is formalized. It is used to explain resource allocation governed by pervasive complementarities as the sign of unity of knowledge. Such an episteme is induced epistemologically into interacting, integrating and evolutionary variables representing the problem at hand. The end result is the formalization of a p...
متن کامل