Collecting transactional execution characteristics during transactional execution
First Claim
Patent Images
1. A computer system for collecting transactional execution (TX) performance characteristics of a transaction in a TX environment, the computer system comprising:
- a memory; and
a processor in communications with the memory, wherein the computer system is configured to perform a method, said method comprising;
initiating, by the processor, a transactional execution of the transaction;
collecting, by the processor, TX performance characteristics of the transaction during the transactional execution;
storing the collected TX performance characteristics in a specified location based on any one of successfully ending the transaction and aborting the transaction, wherein the specified location is specified by an instruction of the transaction;
wherein collecting the TX performance characteristics is performed based on a plurality of conflict detection policies; and
in response to failing to detect at least one conflict in at least one first entry associated with the stored collected TX performance characteristics based on the plurality of conflict detection policies, overwriting the at least one first entry associated with the stored collected TX performance characteristics with at least one second entry associated with the stored collected TX performance characteristics that includes one or more conflicts based on the plurality of conflict detection policies.
1 Assignment
0 Petitions
Accused Products
Abstract
Execution of a transaction may be initiated by a CPU in a transactional execution (TX) environment. A set of TX performance characteristics of the transaction during the transactional execution may be collected and stored in a location specified by an instruction of the transaction when the transactional execution ends or aborts.
-
Citations
14 Claims
-
1. A computer system for collecting transactional execution (TX) performance characteristics of a transaction in a TX environment, the computer system comprising:
-
a memory; and a processor in communications with the memory, wherein the computer system is configured to perform a method, said method comprising; initiating, by the processor, a transactional execution of the transaction; collecting, by the processor, TX performance characteristics of the transaction during the transactional execution; storing the collected TX performance characteristics in a specified location based on any one of successfully ending the transaction and aborting the transaction, wherein the specified location is specified by an instruction of the transaction; wherein collecting the TX performance characteristics is performed based on a plurality of conflict detection policies; and in response to failing to detect at least one conflict in at least one first entry associated with the stored collected TX performance characteristics based on the plurality of conflict detection policies, overwriting the at least one first entry associated with the stored collected TX performance characteristics with at least one second entry associated with the stored collected TX performance characteristics that includes one or more conflicts based on the plurality of conflict detection policies. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer program product for collecting transactional execution (TX) performance characteristics of a transaction in a TX environment, the computer program product comprising:
- a computer readable storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method, the method comprising;
initiating, by the processor, a transactional execution of the transaction; collecting, by the processor, TX performance characteristics of the transaction during the transactional execution; storing, by the processor, the collected TX performance characteristics based any one of successfully ending the transaction and aborting the transaction; and wherein the initiating is performed by execution of an instruction that includes a TBEGIN instruction in a program by the processor, the TBEGIN instruction specifying a parameter, the parameter designating a storage location for the storing of the collected TX performance characteristics; wherein collecting the TX performance characteristics is performed based on a plurality of conflict detection policies; and in response to failing to detect at least one conflict in at least one first entry associated with the stored collected TX performance characteristics based on the plurality of conflict detection policies, overwriting the at least one first entry associated with the stored collected TX performance characteristics with at least one second entry associated with the stored collected TX performance characteristics that includes one or more conflicts based on the plurality of conflict detection policies. - View Dependent Claims (9, 10, 11, 12, 13, 14)
- a computer readable storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method, the method comprising;
Specification