From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <49365B75.4020207@domain.hid> Date: Wed, 03 Dec 2008 11:12:05 +0100 From: Gilles Chanteperdrix MIME-Version: 1.0 References: <493306F5.2080605@domain.hid> <49330CD3.4090700@domain.hid> <4933BAE2.3000502@domain.hid> <4933F1A4.8060209@domain.hid> <4933F18F.7080103@domain.hid> <49363D9C.7010201@domain.hid> In-Reply-To: <49363D9C.7010201@domain.hid> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-help] pthread cancelation and scheduling magics List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Wolfgang Grandegger Cc: xenomai-help Wolfgang Grandegger wrote: > Gilles Chanteperdrix wrote: >> For architectures with a high-resolution counter, >> clock_gettime(CLOCK_MONOTONIC) is a xenomai service which uses the >> counter and does not issue any syscall, this includes arm unless you >> configured xenomai with --enable-arm-arch=generic or with >> --disable-arm-tsc, and this probably includes powerpc. >> > > clock_gettime() is wrapped to __wrap_clock_gettime(), which does a syscall: > > http://www.rts.uni-hannover.de/xenomai/lxr/source/src/skins/posix/clock.c?v=SVN-trunk#058 > > Have I missed something? Yes, read the code again. -- Gilles.