×

Run-time instrumentation directed sampling

  • US 9,367,313 B2
  • Filed: 03/05/2013
  • Issued: 06/14/2016
  • Est. Priority Date: 03/16/2012
  • Status: Active Grant
First Claim
Patent Images

1. A computer implemented method for implementing run-time instrumentation directed sampling, the method comprising:

  • fetching a run-time instrumentation next (RINEXT) instruction from an instruction stream, the instruction stream comprising the RINEXT instruction followed by a next sequential instruction (NSI) in program order; and

    executing the RINEXT instruction by a processor, the executing comprising;

    determining whether a current run-time instrumentation state enables setting a sample point on a sample instruction for reporting run-time instrumentation information during program execution;

    based on the current run-time instrumentation state enabling setting the sample point, interpreting the next sequential instruction as an NSI sample instruction for causing a run-time instrumentation event as a trigger to record the run-time instrumentation information comprising data that led up to the NSI sample instruction into a run-time instrumentation program buffer; and

    based on executing the NSI sample instruction, causing the run-time instrumentation event to record the run-time instrumentation information into the run-time instrumentation program buffer as a reporting group.

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