Virtualizing performance counters
    30.
    发明授权
    Virtualizing performance counters 有权
    虚拟化性能计数器

    公开(公告)号:US09244712B2

    公开(公告)日:2016-01-26

    申请号:US14060947

    申请日:2013-10-23

    申请人: Intel Corporation

    IPC分类号: G06F9/455 G06F9/46 G06F11/34

    摘要: Embodiments of apparatuses, methods, and systems for virtualizing performance counters are disclosed. In one embodiment, an apparatus includes a counter, a counter enable storage location, counter enable logic, and virtual machine control logic. The counter enable storage location is to store a counter enable indicator. The counter enable logic is to enable the counter based on the counter enable indicator. The virtual machine control logic is to transfer control of the apparatus to a guest. The virtual machine control logic includes guest state load logic to cause a guest value from a virtual machine control structure to be loaded into the counter enable storage location in connection with a transfer of control of the apparatus to the guest.

    摘要翻译: 公开了用于虚拟化性能计数器的装置,方法和系统的实施例。 在一个实施例中,装置包括计数器,计数器使能存储位置,计数器使能逻辑和虚拟机器控制逻辑。 计数器使能存储位置是存储计数器使能指示符。 计数器使能逻辑是基于计数器使能指示器启用计数器。 虚拟机控制逻辑是将设备的控制传送给客人。 虚拟机控制逻辑包括客户端状态负载逻辑,以使来自虚拟机控制结构的客户值被加载到计数器使能存储位置中,并将该设备的控制转移给客户端。