Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Apr 2003 13:49:58 +0200
From:      Bernd Walter <ticso@cicely9.cicely.de>
To:        hackers@freebsd.org
Subject:   realtime problem
Message-ID:  <20030409114957.GN83126@cicely9.cicely.de>

next in thread | raw e-mail | index | archive | help
I need a realtime behavour in the (-current) kernel with 1ms
resolution and a presision of 500us.
I thought about these two ways:
- use timeout(9), but it seems that on i386 we only have a
  resolution of 10ms.
  And I don't know of what presision quality I can expect.
  Can the resolution changed to 1ms as we have on alpha?
- attach to the clock service routine.
  I asume the presision will be good enough.
  But how can I find out the resolution on a given hardware?

What is the best way to solve the problem?

-- 
B.Walter                   BWCT                http://www.bwct.de
ticso@bwct.de                                  info@bwct.de



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030409114957.GN83126>