Skip to content
Kaspar Schleiser edited this page Jan 28, 2015 · 8 revisions

Timer Task Force

This page is used to collect requirements and suggestions concerning a hwtimer/vtimer/RTC redesign.

requirements

  • very efficient timers for use in time-critical drivers

API

  • Wait for a time period
  • Await a point in time
  • Wait for a (past) time + x

design questions

  • what granularity to use? msec,usec,nsec, timer ticks, a combination?

current state:

  • timer.h: timer hardware abstraction, using ticks

  • hwtimer: low-level timer multiplexing, one timer.h timer using the same ticks

  • vtimer: higher-level timer multiplexing, using one hwtimer, usecs

  • first two look OK, are stable

  • vtimer sucks

Clone this wiki locally