发明名称 Hardware enabled performance counters with support for operating system context switching
摘要 A device for supporting hardware enabled performance counters with support for context switching include a plurality of performance counters operable to collect information associated with one or more computer system related activities, a first register operable to store a memory address, a second register operable to store a mode indication, and a state machine operable to read the second register and cause the plurality of performance counters to copy the information to memory area indicated by the memory address based on the mode indication.
申请公布号 US9069891(B2) 申请公布日期 2015.06.30
申请号 US201012684190 申请日期 2010.01.08
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 Salapura Valentina;Wisniewski Robert W.
分类号 G06F15/00;G06F7/38;G06F9/00;G06F9/44;G06F11/34;G06F9/46 主分类号 G06F15/00
代理机构 Scully, Scott, Murphy and Presser, P.C. 代理人 Scully, Scott, Murphy and Presser, P.C. ;Morris, Esq. Daniel P.
主权项 1. A device for supporting hardware enabled performance counters with support for context switching, comprising: a plurality of performance counters operable to collect information associated with one or more computer system related activities; a first register associated with a performance counter unit that implements the performance counters, the first register operable to store a memory address; a second register operable to store a mode indication, the mode indication comprising at least whether to switch out contents of the performance counters, whether to switch in contents of the performance counter, or both, the operating system writing the mode indication to initiate a copy; and a hardware state machine operable to read the second register and cause the plurality of performance counters to copy the information to memory area indicated by the memory address written into the first register by an operating system, based on the mode indication, wherein the hardware state machine automatically saves and restores data associated with all of the performance counters implemented by the performance counter unit, while the operating system performs other tasks associated with the context switching.
地址 Armonk NY US