Claims
- 1. A method of monitoring events, comprising:
creating a data structure having a plurality of variables, each variable corresponding to one of a plurality of event counters that are part of an integrated circuit (IC), the event counters for counting events of the IC while the IC is operating as part of an electronic system, at least one of the events being related to bus transactions occurring on an internal bus of the IC; receiving a notify signal generated by one of the event counters in response to the counter having reached a predetermined count; accessing a register in the IC that identifies the event counter which generated the notify signal; modifying the variable assigned to the event counter which generated the notify signal; and reading from a count register in the IC a value of the event counter which generated the notify signal.
- 2. The method of claim 1 wherein the notify signal is a counter overflow indication.
- 3. The method of claim 1 further comprising:
determining a total count for the event counter which generated the notify signal based on the value of the variable and the value of the event counter.
- 4. A system comprising:
first and second buses; an integrated circuit data processor having a bridge coupled between the first and second buses, an internal bus, the first bus being coupled to the internal bus via one of a first address translation unit (ATU) and a first direct memory access (DMA) channel, the second bus being coupled to the internal bus via one of a second ATU and a second DMA channel; a host system on the first bus; an I/O device on the second bus; a subsystem processor on the internal bus, wherein the integrated circuit data processor is on a production chip and not a test chip and further includes an on-chip performance monitor coupled to monitor events, caused by communication between devices that are on the internal bus, the first bus, and the second bus, and provide information regarding the flow of data traffic between the internal bus and the first and second buses.
- 5. The system of claim 4 wherein the performance monitor includes a plurality of event counters coupled to count events that occur in connection with the internal bus, the first bus, and the second bus while the system is operating.
- 6. The system of claim 4 wherein the integrated circuit data processor is an I/O processor that includes the subsystem processor as an on-chip component and that implements an intelligent I/O subsystem, and the monitored events include the number of grants to the DMA channels.
- 7. The system of claim 6 wherein the first and second buses are designed to comply with a Peripheral Components Interconnect specification.
- 8. The system of claim 4 wherein the on-chip performance monitor can provide information regarding data transfer rates between devices outside of the integrated circuit data processor.
- 9. The system of claim 4 wherein the integrated circuit data processor includes a plurality of queues, at least one in each one of the first and second ATUs, the first and second DMA channels, and the bridge, used to buffer data transfers between the internal bus, the first bus, and the second bus, the performance monitor being coupled to count events relating to the plurality of queues that provide information regarding data traffic flow.
- 10. The system of claim 9 wherein the performance monitor is further coupled to monitor the number of retries issued by an inbound write queue of one of the first and second ATUs.
- 11. The system of claim 10 wherein the first ATU is capable of handling requests for intelligent I/O (I2O) transactions between the first bus and the internal bus, and wherein the performance monitor is coupled to monitor events relating to I2O transactions via the first ATU.
- 12. The system of claim 5 wherein one of the event counters of the performance monitor is coupled to count events that indicate whether a queue of the integrated circuit data processor is full or empty during operation of the system.
- 13. The system of claim 5 wherein the performance monitor is coupled to count events relating to a backoff signal asserted by one of the first and second ATUs in response to a predetermined number of consecutive requests for transactions, received from a device on one of the first and second buses, to access the internal bus.
- 14. The system of claim 13 wherein the performance monitor includes an event counter that counts a duration during which the backoff signal remains asserted.
Parent Case Info
[0001] This application is a divisional of U.S. Ser. No. 09/301,870 filed Apr. 29, 1999.
Divisions (1)
|
Number |
Date |
Country |
Parent |
09301870 |
Apr 1999 |
US |
Child |
10254408 |
Sep 2002 |
US |