From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <49F699B2.9090804@domain.hid> Date: Tue, 28 Apr 2009 07:52:50 +0200 From: Gilles Chanteperdrix MIME-Version: 1.0 References: <49F69924.8070001@domain.hid> In-Reply-To: <49F69924.8070001@domain.hid> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-core] xenomai 2.5 rc1 timing computations. List-Id: Xenomai life and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Xenomai core Gilles Chanteperdrix wrote: > Hi, > > currently, the situation is this: > - the timing core uses an approximate value of the cpu frequency (using > xnarch_llmulshft) to do conversions between tsc and ns; > - the APIC timer reprogrammation still uses imuldiv, that is a more > exact cpu frequency, coupled with an approximate APIC frequency > (obtained from ipipe_request_tickdev), to do the conversion between tsc > delays and APIC delays; > - the posix skin uses llimd to do conversions between timespec and > timeval structures and tsc values > - the posix and native skins in user-space still use llimd to do > conversions between ns and tsc (only if using tsc in user-space). > > These are causes of unprecisions, I think we should fix this, though it imprecisions. -- Gilles.