From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4C2DF851.5050609@domain.hid> Date: Fri, 02 Jul 2010 16:31:45 +0200 From: Wolfgang Mauerer MIME-Version: 1.0 References: <1278071353-13836-1-git-send-email-wolfgang.mauerer@domain.hid> <1278071353-13836-8-git-send-email-wolfgang.mauerer@domain.hid> <4C2DF5D6.3030607@domain.hid> In-Reply-To: <4C2DF5D6.3030607@domain.hid> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: [Xenomai-core] [PATCH (7+1)/7] posix: Add some example code for CLOCK_HOST_REALTIME List-Id: Xenomai life and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Kiszka, Jan" Cc: "xenomai@xenomai.org" Kiszka, Jan wrote: > Wolfgang Mauerer wrote: >> ... and for reading the contents of the hostrt data. >> > > Just realized: Please also update clocktest. Should already work with > the new clock ID, but requires a cosmetic output patch. easy enough -- here you go ;-) (I'll integrate this into the series) Best, Wolfgang diff --git a/src/testsuite/clocktest/clocktest.c b/src/testsuite/clocktest/clocktest.c index f0a29ba..42f3f0b 100644 --- a/src/testsuite/clocktest/clocktest.c +++ b/src/testsuite/clocktest/clocktest.c @@ -234,6 +234,10 @@ int main(int argc, char *argv[]) printf("CLOCK_MONOTONIC"); break; + case CLOCK_HOST_REALTIME: + printf("CLOCK_HOST_REALTIME"); + break; + default: printf(""); break;