From alsa-devel-owner@alsa.jcu.cz  Thu Jan 14 12:14:55 1999
Received: from ife.ee.ethz.ch (ife-fast.ee.ethz.ch [129.132.24.193])
	by marvin.jcu.cz (8.9.1a/8.9.1) with ESMTP id MAA28354
	for <alsa-devel@alsa.jcu.cz>; Thu, 14 Jan 1999 12:13:56 +0100
Received: from ife.ee.ethz.ch (eldrich.ee.ethz.ch [129.132.24.203])
	by ife.ee.ethz.ch (8.8.5/8.8.5) with ESMTP id MAA01664;
	Thu, 14 Jan 1999 12:13:51 +0100 (MET)
Message-ID: <369DD16F.12360903@ife.ee.ethz.ch>
Date: Thu, 14 Jan 1999 12:13:51 +0100
From: Thomas Sailer <sailer@ife.ee.ethz.ch>
MIME-Version: 1.0
To: alsa-devel@alsa.jcu.cz
CC: Thomas Hudson <thudson@cygnus.com>,
        linux-audio-dev@ginette.musique.umontreal.ca
Subject: Re: [linux-audio-dev] Re: Linux scheduler issues.
References: <199901132321.SAA13988@renoir.op.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Reply-To: alsa-devel@alsa.jcu.cz
Sender: alsa-devel-owner@alsa.jcu.cz
Precedence: list

Paul Barton-Davis wrote:

> if you are prepared to do pentium-specific stuff, you can also use the
> rdtsc instruction, and get resolution to about 60-70 cycles.

That's what gettimeofday does when there's a TSC available,
otherwise it uses the timer register, which counts with approx.
1MHz. At least on x86 PC's, I don't know what it does on
other archs.

Tom

