Central processing unit measurement facility
First Claim
Patent Images
1. A computer program product to facilitate managing a collection of data within a processing environment, the computer program product comprising:
- a non-transitory storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising;
storing in a data block of a buffer data relating to execution of one or more tasks of the processing environment, wherein the storing is performed at a plurality of specified intervals, in which a plurality of stores to the data block are performed;
attempting another store of data to the data block for another specified interval, wherein it is determined that the data block has insufficient space for the another store;
determining whether an alert indicator is set for the data block, in response to the determining that the data block has insufficient space;
indicating an interrupt is to be performed at a specified time, in response to the determining indicating the alert indicator is set; and
storing the data of the another specified interval in another data block of the buffer.
1 Assignment
0 Petitions
Accused Products
Abstract
A measurement sampling facility takes snapshots of the central processing unit (CPU) on which it is executing at specified sampling intervals to collect data relating to tasks executing on the CPU. The collected data is stored in a buffer, and at selected times, an interrupt is provided to remove data from the buffer to enable reuse thereof. The interrupt is not taken after each sample, but in sufficient time to remove the data and minimize data loss.
-
Citations
20 Claims
-
1. A computer program product to facilitate managing a collection of data within a processing environment, the computer program product comprising:
a non-transitory storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising; storing in a data block of a buffer data relating to execution of one or more tasks of the processing environment, wherein the storing is performed at a plurality of specified intervals, in which a plurality of stores to the data block are performed; attempting another store of data to the data block for another specified interval, wherein it is determined that the data block has insufficient space for the another store; determining whether an alert indicator is set for the data block, in response to the determining that the data block has insufficient space; indicating an interrupt is to be performed at a specified time, in response to the determining indicating the alert indicator is set; and storing the data of the another specified interval in another data block of the buffer. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
14. A computer-implemented method of managing a collection of data within a processing environment, said computer-implemented method comprising:
-
storing in a data block of a buffer data relating to execution of one or more tasks of the processing environment, wherein the storing is performed at a plurality of specified intervals, in which a plurality of stores to the data block are performed; attempting another store of data to the data block for another specified interval, wherein it is determined that the data block has insufficient space for the another store; determining whether an alert indicator is set for the data block, in response to the determining that the data block has insufficient space; indicating an interrupt is to be performed at a specified time, in response to the determining indicating the alert indicator is set; and storing the data of the another specified interval in another data block of the buffer. - View Dependent Claims (15)
-
-
16. A computer system for managing a collection of data within a processing environment, said computer system comprising:
-
a memory having a buffer, said buffer comprising a plurality of data block tables, each data block table of the plurality of data block tables comprising a plurality of block link entries and a table link entry, each block link entry indicating a data entry of a data block of the buffer, and the table link entry indicating another table of the plurality of data block tables, the data block comprising a plurality of data entries and a trailer entry, the trailer entry including an alert indicator specifying whether an alert has been set for the data block; and a processor in communications with the memory, wherein the computer system is performing a method comprising; storing in the data block data relating to execution of one or more tasks of the processing environment, wherein the storing is performed at a plurality of specified intervals, in which a plurality of stores to the data block are performed; attempting another store of data to the data block for another specified interval, wherein it is determined that the data block has insufficient space for the another store; determining whether the alert indicator is set for the data block, in response to the determining that the data block has insufficient space; indicating an interrupt is to be performed at a specified time, in response to the alert indicator being set; and storing the data of the another specified interval in another data block of the buffer. - View Dependent Claims (17, 18, 19, 20)
-
Specification