×

Run-time-instrumentation controls emit instruction

  • US 9,395,989 B2
  • Filed: 03/08/2013
  • Issued: 07/19/2016
  • Est. Priority Date: 03/16/2012
  • Status: Active Grant
First Claim
Patent Images

1. A computer implemented method for executing a run-time-instrumentation controls emit (RIEMIT) instruction, the RIEMIT instruction executable in either a supervisor state or a lesser-privileged state, the method comprising:

  • configuring a processor to capture run-time-instrumentation information of a stream of instructions in a computer program, the configuring including accessing a program status word (PSW) associated with the computer program to update a bit in the PSW to indicate that run-time instrumentation data should be captured by the processor, the stream of instructions comprising the RIEMIT instruction, and the computer program is one of a plurality of computer programs for execution by the processor each having an associated PSW;

    fetching the RIEMIT instruction;

    executing, by the processor, the RIEMIT instruction, the executing comprising;

    determining that current run-time-instrumentation controls are configured to permit capturing of run-time-instrumentation information for storing run-time-instrumentation records in a run-time-instrumentation program buffer; and

    storing an RIEMIT instruction specified value as an emit record of a reporting group in the run-time-instrumentation program buffer.

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