On Fri, 17 Jun 2005 04:54:15 -0700, srikanth wrote:
i have written one C -programm, which outputs signals for specific
input. what my question is, i want to produce outputs for some range of
user inputs. so for this i want to call my programm for every 40ms.
Before, i never dealed with time.
my software is running with linux operation system on a HIL simulator.
- Processor is little endian
- Boot from flash
- Input clock frequency for Excalibur is 20MHz
- SDRAM clock frequency is 133MHz.
Using C-libraries is it possible to get time from any processor??
Could any one please suggest how to proceed for my problem??
Thank you,
srikanth.
Please don't cross-post to comp.lang.c and comp.lang.c++. This is RARELY
productive.
In this case, I believe your question is off-topic in both groups. Perhaps
a group dedicated to the system you are using would be a better choice. If
there is no such group, then maybe a mailing list?
In general, I think it is impossible to guarantee deterministic periodic
operation unless you have a real-time OS, but maybe I'm wrong, somehow.
For more information about comp.lang.c, see the faq:
http://www.eskimo.com/~scs/C-faq/top.html
You can also read this welcome message:
http://www.ungerhu.com/jxh/clc.welcome.txt
I'm sure there are similar resources for comp.lang.c++, but I don't know
where to find them.
--Mac