[Leaplist] need some jiffies

Doug Jones eaglebeakster at gmail.com
Mon Oct 8 18:13:26 EDT 2007


C coders,
I'm happy as a clam at high tide when there's been a rum locker spill.  I'm
actually doing some development
on one of my linux boxes to replace a dos app that yaks to my most favored
CANbus (embedded stuff).  However, I need to do a little medium resolution
timing.  My current learning experience is to try to get the linux heartbeat
system tic known as 'jiffies' rather than system time since jan 1, 1970.
The jiffies would put me back in paradigm I'm used to in embedded stuff.

So my question, anyone got a good C example of how to get jiffies from user
space?  I've found linux/jiffies.h but when i include i get a bazillion
compile errors.  I just need a simple example that shows all the include
files.  Yes, I googled and ended up in kernel development too much (head
exploded).

Hopefully I'll see some of y'all at the redhat thing tomorrow (9oct).

Thanks,
Doug "eaglebeak" jones
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.leap-cf.org/pipermail/leaplist/attachments/20071008/4d733205/attachment.html


More information about the Leaplist mailing list