The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.
The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.
Patent No.:
Date of Patent:
Aug. 31, 2010
Filed:
Nov. 08, 2005
Gopalakrishnan Janakiraman, Sunnyvale, CA (US);
Aravind Menon, Lausanne, CH;
Jose Renato Santos, San Jose, CA (US);
Yoshio Frank Turner, Redwood City, CA (US);
Gopalakrishnan Janakiraman, Sunnyvale, CA (US);
Aravind Menon, Lausanne, CH;
Jose Renato Santos, San Jose, CA (US);
Yoshio Frank Turner, Redwood City, CA (US);
Hewlett-Packard Development Company, L.P., Houston, TX (US);
Abstract
An embodiment of a method of virtualizing a counter in a computer system comprises a first step and iterative performance of second through fifth steps. In the first step, a virtual machine monitor programs a hardware event counter with an initial count for a profiling event for a virtual machine. In the second step, the virtual machine monitor saves a suspension count and disables the hardware event counter upon suspending operation of the virtual machine. In the third step, the virtual machine monitor programs the hardware event counter with the suspension count upon resuming the operation of the virtual machine. Upon receiving an interrupt from the hardware event counter that provides notification of reaching the initial count, the virtual machine monitor performs the fourth and fifth steps. In the fourth step, the virtual machine monitor saves a sample that comprises an event identifier and a code-in-execution indicator. In the fifth step, the virtual machine monitor reprograms the hardware event counter with the initial count.