Invention Grant
- Patent Title: Method of sampling hardware events in computer system
- Patent Title (中): 计算机系统硬件事件采样方法
-
Application No.: US11270089Application Date: 2005-11-08
-
Publication No.: US08209681B1Publication Date: 2012-06-26
- Inventor: Yoshio Frank Turner , Aravind Menon , Jose Renato Santos , Gopalakrishnan Janakiraman
- Applicant: Yoshio Frank Turner , Aravind Menon , Jose Renato Santos , Gopalakrishnan Janakiraman
- Applicant Address: US TX Houston
- Assignee: Hewlett-Packard Development Company, L.P.
- Current Assignee: Hewlett-Packard Development Company, L.P.
- Current Assignee Address: US TX Houston
- Main IPC: G06F9/455
- IPC: G06F9/455 ; G06F9/46 ; G06F21/00

Abstract:
According to an embodiment, a method of sampling hardware events in a computer system comprises a first step and iterative performance of second and third steps. In the first step, an initiator virtual machine identifies a profiling event and a count to a virtual machine monitor. The virtual machine monitor iteratively performs the second and third steps. In the second step, the virtual machine monitor programs a hardware event counter with the count for the profiling event. In the third step, upon receiving an interrupt from the hardware event counter, the virtual machine monitor saves a sample that comprises a code-in-execution identifier.
Information query