A method, comprising the steps of receiving a timeout setting, determining
a selected timer unit of one of a first timer unit and a second timer
unit, wherein a first set of slots is included in the first timer unit and
a second set of slots is included in the second timer unit. The selected
one of the timer units being determined by determining a maximum time
period of the first timer unit based on a number of slots in the first set
of slots and a granularity which defines a relationship between each slot
in the first set of slots, comparing the timeout setting to the maximum
time period of the first timer unit, and incrementing to the second timer
unit if the timeout setting is greater than the maximum time period of the
first timer unit. Determining one of the first slots and the second slots
into which the timeout setting is to be inserted and inserting the timeout
setting into the one of the slots.