The Community for Technology Leaders
Green Image
Issue No. 10 - October (2005 vol. 54)
ISSN: 0018-9340
pp: 1203-1215
Dynamic software optimization methods are becoming increasingly popular for improving software performance and power. The first step in dynamic optimization consists of detecting frequently executed code, or "critical regions.” Most previous critical region detectors have been targeted to desktop processors. We introduce a critical region detector targeted to embedded processors, with the unique features of being very size and power efficient and being completely nonintrusive to the software's execution—features needed in timing-sensitive embedded systems. Our detector not only finds the critical regions, but also determines their relative frequencies, a potentially important feature for selecting among alternative dynamic optimization methods. Our detector uses a tiny cache-like structure coupled with a small amount of logic. We provide results of extensive explorations across 19 embedded system benchmarks. We show that highly accurate results can be achieved with only a 0.02 percent power overhead, acceptable size overhead, and zero runtime overhead. Our detector is currently being used as part of a dynamic hardware/software partitioning approach, but is applicable to a wide variety of situations.
Index Terms- Frequent value profiling, runtime profiling, on-chip profiling, hardware profiling, frequent loop detection, hot spot detection, dynamic optimization.

F. Vahid and A. Gordon-Ross, "Frequent Loop Detection Using Efficient Nonintrusive On-Chip Hardware," in IEEE Transactions on Computers, vol. 54, no. , pp. 1203-1215, 2005.
85 ms
(Ver 3.3 (11022016))