发明名称 |
Run-time-instrumentation controls emit instruction |
摘要 |
Aspects relate to executing a run-time-instrumentation EMIT (RIEMIT) instruction. A processor is configured to capture the run-time-instrumentation information of a stream of instructions. The RIEMIT instruction is fetched and executed. It is determined if the current run-time-instrumentation controls are configured to permit capturing and storing of run-time-instrumentation information in a run-time-instrumentation program buffer. If the controls are configured to store run-time-instrumentation instructions, then a RIEMIT instruction specified value is stored as an emit record of a reporting group in the run-time-instrumentation program buffer. |
申请公布号 |
US9395989(B2) |
申请公布日期 |
2016.07.19 |
申请号 |
US201313790157 |
申请日期 |
2013.03.08 |
申请人 |
INTERNATIONAL BUSINESS MACHINES CORPORATION |
发明人 |
Gainey, Jr. Charles W.;Mitran Marcel;Shum Chung-Lung K.;Stoodley Kevin A. |
分类号 |
G06F9/30;G06F11/36;G06F11/34;G06F9/455 |
主分类号 |
G06F9/30 |
代理机构 |
Cantor Colburn LLP |
代理人 |
Cantor Colburn LLP ;Kinnaman, Jr. William A. |
主权项 |
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. |
地址 |
Armonk NY US |