Coalescing stages in a multiple stage completion sequence
AssigneeInternational Business Machines Corporation
InventorsThomas A. Gregg, Kulwant M. Pandey
Life of this patent
Estimating the term…
Abstract
Embodiments are directed to systems and methodologies for allowing a computer program code to efficiently respond to and process events. For events having a multiple stage completion sequence, and wherein several of the events occur within relatively close time proximity to each other, portions of the multiple stages may be coalesced without adding latency, thereby maintaining responsiveness of the computer program. The disclosed coalescing systems and methodologies include state machines and counters that in effect “replace” certain stages of the event sequence when the frequency of events increases.
Claims13
A computer system for notifying a computer program of events, the system comprising:
- a memory;
- a tracking circuit;
- and
- a processor communicatively coupled to said tracking circuit and said memory;
- wherein each event generates an event alert capable of notifying the computer program of each event;
- the computer system configured to perform a method comprising:
- determining, by said tracking circuit, that multiple events occurred in succession and within a predetermined time of each other;
- in response to said multiple events occurring, suppressing all but one of the event alerts associated with said multiple events;
- and
- in response to a selected one of said multiple events occurring, temporarily suspending receipt of subsequent events until completion of said one of the event alerts.
A computer implemented method for notifying a computer program of events, wherein each event generates an event alert capable of notifying the computer program of each event, the method comprising:
- determining, by a tracking circuit, that multiple events occurred in succession and within a predetermined time of each other;
- in response to said multiple events occurring, suppressing all but one of the event alerts associated with said multiple events;
- wherein said one of the event alert notifies the program that said multiple events occurred and about locations of said multiple event;
- wherein said one of the event alerts includes multiple stages comprising settings an interrupt request and setting at least one pointer;
- wherein said at least one pointer comprises at least one summary bit that points to a vector.
A computer program product for notifying a computer program of events, wherein each event generates an event alert capable of notifying the computer program of each event, the computer program product comprising:
- a computer readable storage medium having program instructions embodied therewith, the program instructions readable by a processing circuit to cause the processing circuit to perform a method comprising:
- determining, by a tracking circuit, that said multiple events occurred in succession and within a predetermined time of each other;
- in response to said multiple events occurring, suppressing all but one of the event alerts associated with said multiple events;
- wherein said one of the event alert notifies the program that said multiple events occurred and about locations of said multiple event;
- wherein said one of the event alerts includes multiple stages comprising settings an interrupt request and setting at least one pointer;
- wherein said at least one pointer comprises setting at least one summary bit that points to a vector.
Dependencies are inferred from the claim text.