摘要 |
A real-time tracing microprocessor unit and its method of operation. The microprocessor unit has a trace buffer capable of holding a plurality of trace records with each record containing a non-sequential program counter value and a state bit. When the microprocessor control unit encounters a non-sequential instruction, a program counter generator produces a non-sequential program counter value. A trace buffer controller transfers the non-sequential program counter value to a trace record having an empty state bit and sets the state bit of the trace record into an occupied state. When any one of the trace records within the trace buffer are occupied, the trace buffer controller is triggered to transfer the non-sequential program counter value to a storage device.
|