摘要 |
PROBLEM TO BE SOLVED: To dynamically relate the profile data with a control flow of an execution program by receiving an instruction signal and generating a shift signal and the first and second load signals in response to the instruction signal. SOLUTION: When a conditional branch condition is detected by a trace controller 520, the controller 520 switches a shift signal 526. The branch history value of a current time branch history register 580 is shifted to an MSB by the signal 526 and the branch signal value is loaded to an LSB of the resistor 580. When the signal 526 shifts a marker bit to the MSB of the resister 580, a full signal 182 is activated and a trace end event is caused. Thereby the controller 520 switches a second load signal 524 and then a first load signal 522 in response to a full signal 582.
|