From: Alex Rhomberg <rhomberg@ife.ee.ethz.ch>
Subject: Re: gettimeofday resolution
Date: 2000/03/23 [thread overview]
Message-ID: <38DA21D4.FD4CA6B3@ife.ee.ethz.ch> (raw)
In-Reply-To: 38DA191A.C7708BAB@ife.ee.ethz.ch
Alex Rhomberg wrote:
>
> I use gettimeofday for time measurement.
> On my PWS500a with RH 6.1, kernel 2.2.12, this works fine, giving me
> microsecond resolution.
> A test on UP2000 with SuSE 6.1 and 2.2.13 kernel returns the time with
> 1ms jumps
>
> The following program outputs 1 or 2 us on PWS/RH and 980 on UP2000/SuSE
>
> could somebody please test this with different configs and help me find
> the reason for the difference?
Hmm, I guess I found it. No high resolution for SMP*, because we can't
trust the rpcc register.
Can somebody give me a hint how I find a high resolution timer on an SMP
machine?
Can I increase the processor affinity somehow?
- Alex
* it's in do_gettimeofday in arch/alpha/kernel/time.c
prev parent reply other threads:[~2000-03-23 5:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-03-23 5:00 gettimeofday resolution Alex Rhomberg
2000-03-23 5:00 ` Alex Rhomberg [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