Lightweight time change detection
First Claim
Patent Images
1. A method comprising:
- receiving a timer request;
determining that said timer request is either an absolute or relative timer;
storing said timer request in either a first array comprising absolute timers or a second array comprising relative timers; and
starting a timer function adapted to return based on an earliest of said absolute timers and an earliest of said relative timers.
2 Assignments
0 Petitions
Accused Products
Abstract
A timer service uses a single timer function to perform timing services for both relative and absolute timers. The first timers from a sorted array of absolute timers and relative timers are used in a function that will return when the earliest absolute timer expires or will timeout when the earliest relative timer expires. The timer function may be interrupted when a new timer is added to one of the arrays. The function will operate in a predictable and consistent manner, even when a system clock is adjusted.
-
Citations
20 Claims
-
1. A method comprising:
-
receiving a timer request; determining that said timer request is either an absolute or relative timer; storing said timer request in either a first array comprising absolute timers or a second array comprising relative timers; and starting a timer function adapted to return based on an earliest of said absolute timers and an earliest of said relative timers. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A timer service comprising:
-
a first array comprising absolute timers; a second array comprising relative timers; an input function adapted to receive a timer request and store said timer request in either said first array or said second array; and a timer function comprising an earliest absolute timer and an earliest relative timer, said timer function being adapted to return when the earliest of said earliest absolute timer or said earliest relative timer occurs. - View Dependent Claims (11, 12, 13, 14, 15, 16)
-
-
17. A system comprising:
-
a system clock; and a timer service adapted to; receiving a timer request; determining that said timer request is either an absolute or relative timer; storing said timer request in either a first array comprising absolute timers or a second array comprising relative timers; and starting a timer function adapted to return based on an earliest of said absolute timers and an earliest of said relative timers. - View Dependent Claims (18, 19, 20)
-
Specification