发明名称 Hierarchical selection of direct and indirect counting events in a performance monitor unit
摘要 A microprocessor including a performance monitor unit is disclosed. The performance monitor unit includes a set of performance monitor counters and a corresponding set of control circuits and programmable control registers. The performance monitor unit receives a first set of event signals from functional units of the processor. Each of the first set of events is routed directly from the appropriate functional unit to the performance monitor unit. The performance monitor unit further receives at least a second set of event signals. In one embodiment, the second set of event signals is received via a performance monitor bus of the processor. The performance monitor bus is typically a shared bus that may receive signals from any of the functional units of the processor. The functional units may include multiplexing circuitry that determines which of the functional units has mastership of the shared bus. Whereas the performance monitor unit is typically capable of monitoring the direct event signals in any of its counters, the indirect event signals may be selectively routed to the counters. The shared bus may be divided into sub-groups or byte lanes where the byte lanes are selectively routed to the set of performance monitor counters. The state of a control register may determine the event that is monitored in the corresponding counter. In one embodiment, the control register provides a set of signals that are connected to the select inputs of one or more multiplexers. The multiplexers receive multiple events signals and, based on the state of their select signals, route one of the received event signals to the corresponding performance monitor counter. Specified states of the select signals may result in the disabling of the corresponding counter or enabling the counter to count system clock cycles rather than any performance event.
申请公布号 US2002073255(A1) 申请公布日期 2002.06.13
申请号 US20000734116 申请日期 2000.12.11
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 DAVIDSON JOEL ROGER;LAURENS JUDITH E. K.;MERICAS ALEXANDER ERIK
分类号 G06F11/34;G06F13/42;(IPC1-7):G06F13/00 主分类号 G06F11/34
代理机构 代理人
主权项
地址