This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Re: In trouble of timer operations
- From: "ariga masahiro" <ariga at link-lab dot co dot jp>
- To: "Paul D. DeRocco" <pderocco at ix dot netcom dot com>, <ecos-discuss at ecos dot sourceware dot org>
- Date: Fri, 30 May 2008 16:26:11 +0900
- Subject: Re: [ECOS] Re: In trouble of timer operations
- References: <PGEAIGBPLOMOJDAPCOJHOEINKPAB.pderocco@ix.netcom.com>
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