166
Development Tools User’s Manual
IXP2400/IXP2800 Network Processors
Developer Workbench
The thread history window contains a cycle marker which marks a
particular cycle count using a vertical dashed line cutting across all
displayed history lines (see image at left). The cycle count at the cycle
marker’s position is reported in the box located between the right and
left green arrow buttons in the
History
window.
There are several ways to move the cycle marker:
•
To immediately move the cycle marker to a given cycle count,
double-click the
History
window at the cycle where you want the
marker.
•
To drag the cycle marker, press the left mouse button on the marker,
drag to the desired cycle and release the mouse button. As you drag,
the marker snaps to cycle count positions and the cycle count is
displayed.
•
To move the cycle marker to the next cycle, click the button labeled
with the green right arrow.
•
To move the cycle marker to the previous cycle, click the button
labeled with the green left arrow.
If a thread’s code window is opened, movement of the cycle marker
scrolls the window to show the instruction being executed by the thread
at that cycle count. The instruction is marked with a color-coded arrow in the window's gutter, with
the color indicating the execution state - executing, aborted, stalled, or swapped out. This enables
you to trace past program flow by going to a specific cycle and incrementing the cycle marker.
2.13.17.6
History Collecting
You enable or disable History collecting through the History dialog box (see
Enable:
To collect history:
1. On the
Simulation
menu, click
Options
.
The
Simulation Options
dialog box appears.
2. Click the
History
tab.
3. Select
Enable history collecting
.
4. Select:
a.
Collect thread history
, or
b.
Collect reference history
c.
Collect queue history
, or
d. Any combination, depending on what history you want collected.
Note:
You cannot select
Collect reference history
if
Collect thread history
is not selected.
5. Specify how many cycles of history you want collected by typing a number in the
corresponding box. The maximum number of cycles that can be collected is 1,000,000.
However at 1 million cycles significant Workbench process virtual memory is required for a