[Tinyos-host-mote-wg] Re: [Tinyos-2.0wg] Timer.fired
Philip Levis
pal at cs.berkeley.edu
Mon May 23 13:41:33 PDT 2005
On May 23, 2005, at 11:30 AM, Cory Sharp wrote:
>
> There's no count. I'll give a brief overview. The timer system
> executes timers in a task, which takes one pass over the timers,
> signalling any that have fired and calculating the next soonest event.
> Each time a periodic timer fires, it prepares itself for its next
> incremental event. That could be in the past if the system can't keep
> up. After processing all of the timers, if the next soonest event is
> in the past or has lapsed into the past, the execute task is
> immediately posted again. Otherwise, an alarm is set.
>
Ah, OK. I think I understand. Your description is a little unclear.
If I have it wrong, let me know and I'll just look at the code. The
state it keeps is "last time I fired." From this it can determine how
many firings remain, up to time wraparound, etc.?
Phil
-------
"We shall not cease from exploration
And the end of all our exploring
Will be to arrive where we started
And know the place for the first time."
- T. S. Eliot, 'Little Gidding'
_______________________________________________
Tinyos-2.0wg mailing list
Tinyos-2.0wg at Mail.Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-2.0wg
More information about the Tinyos-host-mote-wg
mailing list