Configurable hardware profiler for dynamic hot path detection

Hui-zhen ZHANG,Xue-hai ZHOU,Jin-song JI,Xiang-lan CHEN,Hong-xing MA
DOI: https://doi.org/10.3321/j.issn:1001-506X.2009.09.049
2009-01-01
Abstract:Dynamic path profiling technology can identify the frequent code segments, thus guiding performance optimization. It is very important and widely used in instruction sets extension, dynamic binary translation and so on. Based on the study of path optimization technology, a simple but efficient hardware path profiler (CHDPP) is proposed. CHDPP can be programmed to match several kinds of architectures. It catches the branch instructions, executes path profiling and stores the result information. Experiments show that the profiler is capable of obtaining high accuracy with few hardware resources, up to 94.1% for hot path number and 97.7% for relative information.
What problem does this paper attempt to address?