发明授权
US06718403B2 Hierarchical selection of direct and indirect counting events in a performance monitor unit
有权
在性能监视器单元中分层选择直接和间接计数事件
- 专利标题: Hierarchical selection of direct and indirect counting events in a performance monitor unit
- 专利标题(中): 在性能监视器单元中分层选择直接和间接计数事件
-
申请号: US09734116申请日: 2000-12-11
-
公开(公告)号: US06718403B2公开(公告)日: 2004-04-06
- 发明人: Joel Roger Davidson , Judith E. K. Laurens , Alexander Erik Mericas
- 申请人: Joel Roger Davidson , Judith E. K. Laurens , Alexander Erik Mericas
- 主分类号: G06E300
- IPC分类号: G06E300
摘要:
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.
公开/授权文献
信息查询