Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Apr 1995 18:51:13 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        julian@ref.tfs.com, luigi@labinfo.iet.unipi.it
Cc:        chitra@CS.SunySB.EDU, freebsd-hackers@FreeBSD.org
Subject:   Re: help with timeouts
Message-ID:  <199504180851.SAA14349@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>> There is already code that 'turns up' the system clock frequency
>> (I believe the pc-audio code to be exact) to (I think) 10KHz
>> so you could do similar and get 100uSec time,

>pcaudio runs at 16 KHz, I think. This means one interrupt every
>62.5 uS; this is *not* something you want to run continuously on
>your system:  the overhead is high, some interrupts are missed,
>even on my 486/66, and you see you clock slowing down (due to the
>missed interrupts).

A 486/66 shouldn't miss clock interrupts at 16 KHz unless it is
handicapped by a bus-hogging (broken) busmastering controller
or multiple high speed FIFOed serial lines (about 3 lines with
16550's at 115200 bps).

Bruce



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