A general framework for static profiling of parametric resource usage*. Issue 5 (14th October 2016)
- Record Type:
- Journal Article
- Title:
- A general framework for static profiling of parametric resource usage*. Issue 5 (14th October 2016)
- Main Title:
- A general framework for static profiling of parametric resource usage*
- Authors:
- LOPEZ-GARCIA, P.
KLEMEN, M.
LIQAT, U.
HERMENEGILDO, M. V. - Editors:
- Carro, Manuel
King, Andy - Abstract:
- Abstract: For some applications, standard resource analyses do not provide the information required. Such analyses estimate the total resource usage of a program (without executing it) as functions on input data sizes. However, some applications require knowing how such total resource usage is distributed over selected parts of a program. We propose a novel, general, and flexible framework for setting up cost equations/relations which can be instantiated for performing a wide range of resource usage analyses, including both static profiling and the inference of the standard notion of cost. We extend and generalize standard resource analysis techniques, so that the relations generated include additional Boolean control variables for switching on or off different terms in the relations, as required by the desired resource usage profile. We also instantiate our framework to perform static profiling of accumulated cost (also parameterized by input data sizes). Such information is much more useful to the software developer than the standard notion of cost: it identifies the parts of the program that have the greatest impact on the total program cost, and which therefore should be optimized first. We also report on an implementation of our framework within the CiaoPP system, and its instantiation for accumulated cost, and provide some experimental results. In addition to generality, our new method brings important advantages over our previous approach based on a programAbstract: For some applications, standard resource analyses do not provide the information required. Such analyses estimate the total resource usage of a program (without executing it) as functions on input data sizes. However, some applications require knowing how such total resource usage is distributed over selected parts of a program. We propose a novel, general, and flexible framework for setting up cost equations/relations which can be instantiated for performing a wide range of resource usage analyses, including both static profiling and the inference of the standard notion of cost. We extend and generalize standard resource analysis techniques, so that the relations generated include additional Boolean control variables for switching on or off different terms in the relations, as required by the desired resource usage profile. We also instantiate our framework to perform static profiling of accumulated cost (also parameterized by input data sizes). Such information is much more useful to the software developer than the standard notion of cost: it identifies the parts of the program that have the greatest impact on the total program cost, and which therefore should be optimized first. We also report on an implementation of our framework within the CiaoPP system, and its instantiation for accumulated cost, and provide some experimental results. In addition to generality, our new method brings important advantages over our previous approach based on a program transformation, including support for non-deterministic programs, better and easier integration in the compiler, and higher efficiency. … (more)
- Is Part Of:
- Theory and practice of logic programming. Volume 16:Issue 5/6(2016)
- Journal:
- Theory and practice of logic programming
- Issue:
- Volume 16:Issue 5/6(2016)
- Issue Display:
- Volume 16, Issue 5/6 (2016)
- Year:
- 2016
- Volume:
- 16
- Issue:
- 5/6
- Issue Sort Value:
- 2016-0016-NaN-0000
- Page Start:
- 849
- Page End:
- 865
- Publication Date:
- 2016-10-14
- Subjects:
- Static Profiling, -- Static Analysis, -- Resource Usage Analysis, -- Complexity Analysis
Logic programming -- Periodicals
Artificial intelligence -- Computer programs -- Periodicals
Constraint programming (Computer science) -- Periodicals
005.115 - Journal URLs:
- https://www.cambridge.org/core/journals/theory-and-practice-of-logic-programming ↗
- DOI:
- 10.1017/S1471068416000442 ↗
- Languages:
- English
- ISSNs:
- 1471-0684
- Deposit Type:
- Legaldeposit
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library HMNTS - ELD Digital store
- Ingest File:
- 1789.xml