×

Run-time instrumentation sampling in transactional-execution mode

  • US 9,372,693 B2
  • Filed: 03/07/2013
  • Issued: 06/21/2016
  • Est. Priority Date: 03/16/2012
  • Status: Active Grant
First Claim
Patent Images

1. A computer implemented method for implementing run-time instrumentation sampling in transactional-execution mode, the method comprising:

  • determining, by a processor, that the processor is configured to execute instructions of an instruction stream in a transactional-execution mode, the instructions defining a transaction;

    interlocking completion of storage operations of the instructions to prevent instruction-directed storage until completion of the transaction;

    collecting run-time instrumentation events in a collection buffer while in the transactional-execution mode, the collection buffer located within the processor, wherein the run-time instrumentation events are events recognized by the processor during execution of the instructions;

    recognizing a sample point during execution of the instructions while in the transactional-execution mode, the sample point corresponding to an instruction executed inside of the transaction;

    run-time-instrumentation-directed storing, upon successful completion of the transaction, run-time instrumentation information obtained at the sample point; and

    performing the run-time-instrumentation-directed storing as a non-transactional store of a reporting group based on the run-time instrumentation events in the collection buffer to a run-time instrumentation program buffer in a main memory.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×