Message-ID: Date: Thu, 13 Jul 2006 13:03:42 +0100 From: "Kim Chuan Lim" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: [Xenomai-help] RT timer help List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org Hi all, I am a bit confuse with the rt timer clock tick. printf("rt_timer_ns2tsc(1000000000) == %lld \n",rt_timer_ns2tsc(1000000000));//1second rt_timer_ns2tsc(1000000000) == 1193182; rt_task_set_periodic(NULL, TM_NOW, 1193182LLu); while (1) { rt_task_wait_period(NULL); /* real-time jobs */ k_time = rt_timer_read(); printf("Hello Jan!! count_%d k_time_%llu\n",++count,k_time); } The printf appear very fast rather than 1ms. May i know i have make what mistake? Regards, Kim Chuan.