System and method for selective timer rate limiting
First Claim
1. A non-transitory machine-readable medium having executable instructions to cause one or more processing units to perform a method to rate-limit an execution of a timer, the method comprising:
- receiving a timer, wherein the timer includes a periodicity, an execution time based on the periodicity, a timer priority and the timer is a time-driven interrupt source to trigger a periodic activity of an application; and
if the timer priority is below a threshold, rate-limiting the execution of the timer based on a suppression period derived from the timer priority, wherein there are different suppression periods for different timer priorities and the suppression period is greater than the periodicity of the timer, wherein the rate-limiting the execution of the timer comprises,determining the suppression period based on the timer priority, andscheduling the timer to execute after the suppression period; and
if the timer priority at or above the threshold, scheduling the timer to execute at the initial execution time.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and apparatus of a device that rate-limits the execution of a timer is described. The device receives a timer that includes an initial execution timer and a timer priority. If the timer priority is low, the device rate-limits the execution of the timer based on a suppression period associated with the timer priority. In order to rate-limit the execution of the timer, the device determines the suppression period based on the timer priority and schedules the timer to execute at the end of the suppression period. The device further schedules the timer to execute at the initial exertion time when the timer priority is high.
42 Citations
17 Claims
-
1. A non-transitory machine-readable medium having executable instructions to cause one or more processing units to perform a method to rate-limit an execution of a timer, the method comprising:
-
receiving a timer, wherein the timer includes a periodicity, an execution time based on the periodicity, a timer priority and the timer is a time-driven interrupt source to trigger a periodic activity of an application; and if the timer priority is below a threshold, rate-limiting the execution of the timer based on a suppression period derived from the timer priority, wherein there are different suppression periods for different timer priorities and the suppression period is greater than the periodicity of the timer, wherein the rate-limiting the execution of the timer comprises, determining the suppression period based on the timer priority, and scheduling the timer to execute after the suppression period; and if the timer priority at or above the threshold, scheduling the timer to execute at the initial execution time. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A device to rate-limit an execution of a timer, the device comprising:
-
a processor; a memory coupled to the processor though a bus; and a process executed from the memory by the processor causes the processor to receive a timer, wherein the timer includes a periodicity, an execution time based on the periodicity, a timer priority and the timer is a time-driven interrupt source to trigger a periodic activity of an application, and if the timer priority is below a threshold, rate-limit the execution of the timer based on a suppression period derived from the timer priority, wherein there are different suppression periods for different timer priorities and the suppression period is greater than the periodicity of the timer, wherein the rate-limiting the execution of the timer comprises, determining the suppression period based on the timer priority, and scheduling the timer to execute after the suppression period, and if the timer priority at or above the threshold, schedule the timer to execute at the initial execution time. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A computer implemented method for rate-limiting an execution of a timer, the method comprising:
-
receiving a timer, wherein the timer includes a priority, an execution time based on the periodicity, a timer priority and the timer is a time-driven interrupt source to trigger a periodic activity of an application; and if the timer priority is below a threshold, rate-limiting the execution of the timer based on a suppression period derived from the timer priority, wherein there are different suppression periods for different timer priorities and the suppression period is greater than the periodicity of the timer, wherein the rate-limiting the execution of the timer comprises, determining the suppression period based on the timer priority, and scheduling the timer to execute after the suppression period; and if the timer priority at or above the threshold, scheduling the timer to execute at the initial execution time. - View Dependent Claims (14, 15, 16, 17)
-
Specification