From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8126 invoked by alias); 30 May 2008 07:26:38 -0000 Received: (qmail 8116 invoked by uid 22791); 30 May 2008 07:26:37 -0000 X-Spam-Check-By: sourceware.org Received: from pop132.ocn.ne.jp (HELO pop132.ocn.ne.jp) (60.37.31.215) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 30 May 2008 07:26:17 +0000 Received: from ariga (p1110-ipbf5210marunouchi.tokyo.ocn.ne.jp [118.8.156.110]) by pop132.ocn.ne.jp (OCN) with SMTP id m4U7QD7q018242; Fri, 30 May 2008 16:26:14 +0900 (JST) Message-ID: <000d01c8c226$6fa92140$1c0110ac@ariga> From: "ariga masahiro" To: "Paul D. DeRocco" , References: Date: Fri, 30 May 2008 07:26:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] Re: In trouble of timer operations X-SW-Source: 2008-05/txt/msg00118.txt.bz2 Hello Paul and others, I am sorry perhaps I am slow in mind. > You can't delay _exactly_ 20ms, you can only delay with an accuracy of > 10ms. OK,I re_state what I want.I like to hold delay as close as multiple of 10ms. As for my first test I think result is too short. Your first answer said. > The ticks are 10ms apart, but your call to > cyg_thread_delay > isn't synchronized with these ticks. I expected there are ways to synchronize with these ticks,and get as close as 10ms delay. And another thing.What I want to do is that I display time before calling delay func(like cyg_thread_delay), and display time again after returned from delay function. Would you teach me how to do it. I am very much obliged. Masahiro Ariga -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss