Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Joachim Wesner <joachim.wesner@frankfurt.netsurf.de>
Subject: Re: direct memory access, gettimeofday: any GURUS out there?
Date: 1998/06/18	[thread overview]
Message-ID: <3588AA64.7E99EA69@frankfurt.netsurf.de> (raw)
In-Reply-To: m3u35kar93.fsf@bootp-47-231.bootp.virginia.edu


Edgar F. Hilton wrote:

 
> I am having some problems using the C function gettimeofday.  For some
> reason, I am getting a resolution of approximately 980
> microseconds. This was not a problem in the 32 bit machines, but it
> seems to be a problem here.
 
> It turns out that roughly 400 - 500 samples from the above show the same
> clock time. The clock jumps by 980 microseconds, and stays constant over
> the next 400-500 samples, at which time the clock jumps again, etc.
> What am I missing?


Nothing. The system tick of Linux/ALpha runs at approx 1 kHz, which is
exactly what you find. However, there is a hardware cycle counter you
probably could use, don't have it handy, I would have to look it up,
dunno/fear that there is no high level callable function available, yet.
!

Joachim



      reply	other threads:[~1998-06-18  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-06-17  4:00 direct memory access, gettimeofday: any GURUS out there? Edgar F. Hilton
1998-06-18  4:00 ` Joachim Wesner [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox