The Community for Technology Leaders
Green Image
Issue No. 07 - July (2011 vol. 60)
ISSN: 0018-9340
pp: 992-1005
Milena Milenković , IBM, Austin
Vladimir Uzelac , The University of Alabama in Huntsville, Huntsville
Martin Burtscher , The University of Texas at Austin, Austin
Aleksandar Milenković , The University of Alabama in Huntsville, Huntsville
The increasing complexity of modern embedded computer systems makes software development and system verification the most critical steps in system development. To expedite verification and program debugging, chip manufacturers increasingly consider hardware infrastructure for program debugging and tracing, including logic to capture and filter traces, buffers to store traces, and a trace port through which the trace is read by the debug tools. In this paper, we introduce a new approach to capture and compress program execution traces in hardware. The proposed trace compressor encompasses two cost-effective structures, a stream descriptor cache, and a last stream predictor. Information about the program flow is translated into a sequence of hit and miss events in these structures, thus dramatically reducing the number of bits that need to be sent out of the chip. We evaluate the efficiency of the proposed mechanism by measuring the trace port bandwidth on a set of benchmark programs. Our mechanism requires only 0.15 bits/instruction/CPU on average on the trace port, which is a sixfold improvement over state-of-the-art commercial solutions. The trace compressor requires an on-chip area that is equivalent to one third of a 1 kilobyte cache and it allows for continual and unobtrusive program tracing in real time.
Compression technologies, real time and embedded systems, testing and debugging, tracing.
Milena Milenković, Vladimir Uzelac, Martin Burtscher, Aleksandar Milenković, "Caches and Predictors for Real-Time, Unobtrusive, and Cost-Effective Program Tracing in Embedded Systems", IEEE Transactions on Computers, vol. 60, no. , pp. 992-1005, July 2011, doi:10.1109/TC.2010.146
106 ms
(Ver 3.1 (10032016))