As others have said, maybe jiffies isn't the time value you want.
However, clock ticks are available in userland via the times system
call.
Note the warning at the end; you'll have to do your comparisons
correctly or fail when the counter overflows.
man 2 times:
...
Return Va
philip dahlquist wrote:
hi,
i'm on a quest to get access to jiffies in user space so i can write a
simple stepper motor driver program. i co-opted the "#includes" list
from alessandro rubini's jit.c file from "linux device drivers" to write
jfi.c.
That's not going to work, jiffies is an internal
On Sat, 9 Apr 2005, philip dahlquist wrote:
> hi,
Hello,
> i'm on a quest to get access to jiffies in user space so i can write a
> simple stepper motor driver program. i co-opted the "#includes" list
> from alessandro rubini's jit.c file from "linux device drivers" to write
> jfi.c.
Now, I mi
hi,
i'm on a quest to get access to jiffies in user space so i can write a
simple stepper motor driver program. i co-opted the "#includes" list
from alessandro rubini's jit.c file from "linux device drivers" to write
jfi.c.
this is it:
---
4 matches
Mail list logo