主权项 |
1. A computer system for notifying a computer program of events, the system comprising:
a memory; a tracking circuit comprising at least one counter; and a processor communicatively coupled to the tracking circuit and the memory; wherein the computer system is configured to perform a method comprising:
determining, by the tracking circuit, that events have occurred, wherein a total number of the events comprises a range from 1 to N, wherein N comprises a predetermined number;determining, by the tracking circuit, that 1 to N events occurred in succession and within a predetermined time of each other;in response to determining, by the tracking circuit, that 1 to N events occurred in succession and within a predetermined time of each other, delaying transmitting an event notification and location alert for any one of the 1 to N events to the computer program until after the N event occurs;in response to determining, by the tracking circuit, that the N event occurred, temporarily suspending receipt of subsequent events and transmitting to the computer program an event notification and location alert of at least one of the 1 to N events; wherein the event notification and location alert of the at least one of the 1 to N events provides a notification to the computer program comprising at least the following:
that the at least one of the 1 to N events occurred: andinformation about a location of the at least one of the 1 to N events; wherein the alert comprises:
setting an interrupt request; andsetting at least one pointer; wherein setting the at least one pointer comprises setting at least one summary bit that points to a bit vector; wherein the bit vector points to a location in the memory that holds an event description representing the at least one of the 1 to N events; wherein the computer program uses the event notification and location alert of the at least one of the 1 to N events to provide event notification and location alerts for all of the 1 to N events. |