Intel
®
81341 and 81342—PMON Unit
Intel
®
81341 and 81342 I/O Processors
Developer’s Manual
December 2007
956
Order Number: 315037-002US
Example 20. Queue Depth Histogram Example
This example demonstrates how to measure the current fill level (depth) of a particular
queue.
No block diagram for this example.
Table 601. Queue Depth Histogram Example
Opcode
Target Counter Increment Event Decrement Event Trigger Event
Write Threshold (bucket size) in Data
Register
0
Write Event Register
0
Queue Enter
Queue Exit
Write Event Register
1
Threshold Event 0
Start (CC is =)
0
Queue Empty
Start
1
Immed (000h)
-- Run Workload --
Sample
1
Immed (000h)
Read Data Register
0
-- Repeat entire sequence with new bucket
size --