[riot-devel] Timers (caution: long mail, abstract available)
kaspar at schleiser.de
Thu Sep 18 00:59:30 CEST 2014
On 09/16/14 23:04, Oleg Hahm wrote:
> New Concept
> After thinking about this problem a little bit, I came to the conclusion that
> there's only a need for one timer interface at the upper layers (i.e., user
> space). This interface should offer the possibility to specify if maximum
> precision is required or not and set timers of (almost) arbitrary duration,
> but with a resolution of at least one microsecond.
Keep in mind that timers usually don't count anything like (u)seconds,
but more something that fits in binary space (like 1s/2^16). Converting
without using division/modulo sucks on platforms without hardware FPU.
More information about the devel