Precise branch counting in virtualization systems

A method for precisely counting guest branch instructions in a virtualized computer system is described. In one embodiment, guest instructions execute in a direct execution mode of the virtualized computer system. The direct execution mode operates at a first privilege level having a lower privilege...

Full description

Saved in:
Bibliographic Details
Main Authors VENKITACHALAM GANESH, MALYUGIN VYACHESLAV V, XU MIN, WEISSMAN BORIS, VANDROVEC PETR
Format Patent
LanguageEnglish
Published 05.05.2015
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:A method for precisely counting guest branch instructions in a virtualized computer system is described. In one embodiment, guest instructions execute in a direct execution mode of the virtualized computer system. The direct execution mode operates at a first privilege level having a lower privilege than a second privilege level. A branch count of previously executed first privilege level branch instructions is maintained as instructions execute. Execution of a first privilege level branch instruction caused by a control transfer to the direct execution mode is detected. Responsive to the detection, a guest branch instruction count is determined based on the first privilege level branch count.
Bibliography:Application Number: US20080059894