FLEXIBLE VIRTUALIZATION OF PERFORMANCE MONITORING

    公开(公告)号:EP4394594A1

    公开(公告)日:2024-07-03

    申请号:EP23195131.0

    申请日:2023-09-04

    申请人: Intel Corporation

    IPC分类号: G06F9/455

    摘要: Techniques for flexible virtualization of performance monitoring are described. In an embodiment, an apparatus includes a plurality of performance monitoring hardware resources and an instruction decoder to decode a first instruction to access a first performance monitoring hardware resource of the plurality of performance monitoring hardware resources. In response to the first instruction being received by a virtual machine, the apparatus is to determine whether the first performance monitoring hardware resource is allocated to the virtual machine based on an allocation model to allow any set of the performance monitoring hardware resources to be allocated to the virtual machine, execute the first instruction within the virtual machine in response to a determination that the first performance monitoring hardware resource is allocated to the virtual machine, and raise an exception within the virtual machine in response to a determination that the first performance monitoring hardware resource is not allocated to the virtual machine.