VIRTUALIZING PRECISE EVENT BASED SAMPLING
    5.
    发明申请

    公开(公告)号:US20200242003A1

    公开(公告)日:2020-07-30

    申请号:US16699871

    申请日:2019-12-02

    申请人: Intel Corporation

    IPC分类号: G06F11/36 G06F9/455

    摘要: A processor is to execute and retire instructions for a virtual machine. A reload register is coupled to the core is to store a reload value. A performance monitoring counter (PMC) register is coupled to the reload register and an event-based sampler operatively is coupled to the reload register and the PMC register. The event-based sampler includes circuitry to load the reload value into the PMC register and increment the PMC register after detecting each occurrence of an event of a certain type as a result of execution of the instructions. Upon detecting an occurrence of the event after the PMC register reaches a predetermined trigger value, the event-based sampler is to execute microcode to generate field data for elements within a sampling record, wherein the field data relates to a current processor state of execution, and reload the reload value from the reload register into the PMC register.

    Method and apparatus for processor performance monitoring
    10.
    发明授权
    Method and apparatus for processor performance monitoring 有权
    用于处理器性能监控的方法和装置

    公开(公告)号:US09465680B1

    公开(公告)日:2016-10-11

    申请号:US14721819

    申请日:2015-05-26

    申请人: INTEL CORPORATION

    摘要: A processor and method are described for implementing performance monitoring using a fixed function performance counter. For example, one embodiment of an apparatus comprises: a fixed function performance counter to decrement or increment upon occurrence of an event in the processing device; a precise event based sampling (PEBS) enable control communicably coupled to the fixed function performance counter; a PEBS handler to generate and store a PEBS record comprising architectural metadata defining a state of the processing device at a time of generation of the PEBS record; and a non-precise event based sampling (NPEBS) module communicably coupled to the PEBS enable control and the PEBS handler, the NPEBS module to cause the PEBS handler to generate the PEBS record for the event upon the fixed function performance counter reaching a specified value.

    摘要翻译: 描述了使用固定功能性能计数器实现性能监视的处理器和方法。 例如,设备的一个实施例包括:固定功能性能计数器,用于在处理设备中发生事件时递减或递增; 精确的基于事件的采样(PEBS)使能控制可通信地耦合到固定功能性能计数器; PEBS处理器,用于生成和存储PEBS记录,其包括在生成PEBS记录时定义处理设备的状态的架构元数据; 以及可通信地耦合到PEBS使能控制和PEBS处理器的非精确事件采样(NPEBS)模块,NPEBS模块使固定功能性能计数器达到指定值时使PEBS处理程序生成事件的PEBS记录 。