DocumentCode
2746397
Title
Targeted path profiling: lower overhead path profiling for staged dynamic optimization systems
Author
Joshi, Rahul ; Bond, Michael D. ; Zilles, Craig
Author_Institution
Dept. of Comput. Sci., Illinois Univ., Urbana, IL, USA
fYear
2004
fDate
20-24 March 2004
Firstpage
239
Lastpage
250
Abstract
We present a technique for reducing the overhead of collecting path profiles in the context of a dynamic optimizer. The key idea to our approach, called targeted path profiling (TPP), is to use an edge profile to simplify the collection of a path profile. This notion of profile-guided profiling is a natural fit for dynamic optimizers, which typically optimize the code in a series of stages. TPP is an extension to the Ball-Lams efficient path profiling algorithm. Its increased efficiency comes from two sources: (i) reducing the number of potential paths by not enumerating paths with cold edges, allowing array accesses to be substituted for more expensive hash table lookups, and (ii) not instrumenting regions where paths can be unambiguously derived from an edge profile. Our results suggest that on average the overhead of profile collection can be reduced by half (SPEC95) to almost two-thirds (SPEC2000) relative to the Ball-Larus algorithm with minimal impact on the information collected.
Keywords
directed graphs; optimising compilers; table lookup; Ball-Lams efficient path profiling algorithm; directed acyclic graphs; hash table lookups; lower overhead path profiling; profile-guided profiling; staged dynamic optimization systems; targeted path profiling; Bonding; Collision mitigation; Computer science; Electronic mail; Frequency; Hardware; Instruments; Magnetohydrodynamic power generation; Sampling methods; Table lookup;
fLanguage
English
Publisher
ieee
Conference_Titel
Code Generation and Optimization, 2004. CGO 2004. International Symposium on
Print_ISBN
0-7695-2102-9
Type
conf
DOI
10.1109/CGO.2004.1281678
Filename
1281678
Link To Document