发明名称 Methods to randomly or pseudo-randomly, without bias, select instruction for performance analysis in a microprocessor
摘要 A method for pseudo-randomly, without bias, selecting instructions for marking in a microprocessor. Responsive to reading an instruction from an instruction cache, an instruction tag associated with the instruction is compared against a pseudo-randomly generated value in a linear feedback shift register (LFSR). If the instruction tag matches the value in the LFSR, a mark bit, indicating the instruction is a marked instruction, is sent with the instruction to an execution unit. Responsive to an indication from the performance monitor, the value in the LFSR is incremented prior to selecting a next instruction to mark. If the value equals a predetermined prime number of increments, the value is reset to all ones to avoid any harmonics with the code stream being executed. Upon receiving the marked instruction, the execution unit combines the marked bit with a selected event and reports the marked event to the performance monitor.
申请公布号 US7620801(B2) 申请公布日期 2009.11.17
申请号 US20050055848 申请日期 2005.02.11
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 BISHOP JAMES WILSON;FLOYD MICHAEL STEPHEN;MERICAS ALEXANDER ERIK;MIRABELLA ROBERT DOMINICK;NGUYEN DUNG QUOC;VITALE PHILIP LEE
分类号 G06F9/30 主分类号 G06F9/30
代理机构 代理人
主权项
地址