
184
Development Tools User’s Guide
Intel
®
IXP2400/IXP2800 Network Processors
Performance Monitoring Unit
3.4.3.1
Monitor Sampling Macro
The Monitor sampling macro (see
) is the simplest and most commonly used macro.
Monitors describe increment events. The monitor can either count the number of times that the
event occurs or the duration of the event, based on the
Duration
check box.
The Monitor macro is used to count the number of times or the duration that some event occurs. It
is typically reset after every sampling, so the count represents the count that occurred during the
sampling interval. Optionally, the counter can not be reset. In this case, it counts the cumulative
count since the experiment began. Note that doing this does not make much sense when there is a
non-zero sampling window. In this case, the count is cumulative including both during the
sampling window and between sampling windows.
Figure 62. Monitor Sampling Macro
Table 6. Monitor Sampling Macro Dialog Box
Type
Description
Reset on Sample
Specifies whether the counter is reset between samples.
Duration
The performance counter is incremented for each clock the event is active.
Buttons
Clear
Clear
will clear the currently selected events.
Events
Open the Event Selection dialog box (see
OK
Accept the current selections and close the Sampling Macros dialog box.
Cancel
Close the Sampling Macros dialog box and cancel all changes.