Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
Property-Aware Program Sampling
[go: Go Back, main page]

Department of Computer Science

Laboratory for Software Design


The research and educational activities described on these pages has been supported in part by the US National Science Foundation (NSF) under grants CNS-06-27354, CNS-07-09217, and a CAREER award 08-46059.

Got a question?

Got a question or comment? Contact us at (515) 294-6168 or hridesh@cs.iastate.edu.

Property-Aware Program Sampling

Harish Narayanappa, Mukul S. Bansal, and Hridesh Rajan

Abstract

Monitoring or profiling programs provides us with an understanding for its further improvement and analysis. Typically, for monitoring or profiling, the program is instrumented to execute additional code that collects necessary data. A problem is that program instrumentation is often reported to cause between 10\% and 390\% time and space overhead. A number of techniques based on statistical sampling have been proposed to reduce the instrumentation overhead. Statistical sampling based instrumentation techniques, although effective in reducing the overall overhead, often lead to poor coverage or less accurate results. In this work, we present a profiling technique based on property-aware program sampling. The key ideas are (i) to use program slicing to narrow down the scope of instrumentation to the sections of program relevant to the property of interest, (ii) to decompose large program slices into logically related slice fragments, and (iii) to apply statistical sampling on the set of slice fragments. Our experimental results show that our technique can collect profiles at high assurance levels, at a significantly lower overhead.

Bibliographic Information

@inproceedings{Narayanappa-Bansal-Rajan-10,
author = {Harish Narayanappa and Mukul S. Bansal and Hridesh Rajan},
title = {Property-Aware Program Sampling},
booktitle = {PASTE '10: 9th ACM SIGPLAN-SIGSOFT Workshop on Program Analysis for Software Tools and Engineering},
location = {Toronto, Canada},
month = {June},
year = {2010},
}

Most recent version: [PDF]