Invention Grant
- Patent Title: Methods, apparatus, and articles of manufacture to virtualize performance counters
-
Application No.: US14721461Application Date: 2015-05-26
-
Publication No.: US10452417B2Publication Date: 2019-10-22
- Inventor: Benjamin Charles Serebrin , Daniel Michael Hecht
- Applicant: VMware, Inc.
- Applicant Address: US CA Palo Alto
- Assignee: VMWARE, INC.
- Current Assignee: VMWARE, INC.
- Current Assignee Address: US CA Palo Alto
- Agency: Hanley, Flight & Zimmerman, LLC
- Main IPC: G06F9/455
- IPC: G06F9/455 ; G06F11/34

Abstract:
Methods, apparatus, and articles of manufacture to virtualize performance counters are disclosed. An example method includes dividing performance events to be counted into a plurality of classes; assigning a first virtual performance counter of a virtual machine to a first performance event type in a first one of the classes; assigning a second virtual performance counter of the virtual machine to a second performance event type in a second one of the classes different from the first class; incrementing the first virtual performance counter in response to a first occurrence of the first performance event type during direct execution of guest instructions by the virtual machine; and not incrementing the first virtual performance counter in response to a second occurrence of the first performance event type during execution of emulated instructions by a hypervisor on behalf of the virtual machine.
Public/Granted literature
- US20150254087A1 METHODS, APPARATUS, AND ARTICLES OF MANUFACTURE TO VIRTUALIZE PERFORMANCE COUNTERS Public/Granted day:2015-09-10
Information query