Re: A time resolution problem

2002-05-03 Thread Paolo Di Francesco
> Paolo Di Francesco wrote: > > > [SNIP] > > 1 msec. (recompiled the kernel with HZ=10) > > > > in my experience, compiling a kernel with HZ greater than 10.000 (ten > thousand) is uselesss (I even had crash with greater HZ) > > TfH > Yes,

A time resolution problem

2002-05-03 Thread Paolo Di Francesco
Hello hackers, I am trying to write a simple C program that must do some specialized things. The idea is that the program must send packets each T seconds. Ok, I know.. use the sleep, microsleep things, and it works pretty well if the interval is greater than 1 msec. (recompiled the kernel wi