发明名称 Methods, apparatus, and articles of manufacture to virtualize performance counters
摘要 Methods, apparatus, and articles of manufacture to virtualize performance counters are disclosed. An example method includes scheduling a virtual machine on a processor, incrementing a virtual performance counter in response to an occurrence of a speculative event during direct execution of guest instructions by the virtual machine on the processor, and incrementing the virtual performance counter in response to an occurrence of the speculative event during execution of emulated instructions by a hypervisor on behalf of the virtual machine on the processor.
申请公布号 US9063762(B2) 申请公布日期 2015.06.23
申请号 US201213593187 申请日期 2012.08.23
申请人 VMware, Inc. 发明人 Serebrin Benjamin C.;Hecht Daniel M.
分类号 G06F9/455;G06F11/34 主分类号 G06F9/455
代理机构 代理人
主权项 1. A method, comprising: scheduling a virtual machine on a processor; incrementing a first virtual performance counter in response to an occurrence of a speculative event during direct execution of first guest instructions by the virtual machine on the processor; incrementing a second virtual performance counter in response to an occurrence of a non-speculative event during direct execution of the first guest instructions by the virtual machine on the processor; executing emulated instructions on behalf of the virtual machine on the processor using a hypervisor, the second virtual performance counter not being incremented in response to an occurrence of the non-speculative event during the execution of the emulated instructions; and incrementing the first virtual performance counter in response to an occurrence of the speculative event during the execution of the emulated instructions by the hypervisor.
地址 Palo Alto CA US