Re: Fine grain timer

2000-08-01 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, Yingf ei Dong writes: > >hi, folks, > >I am revising a driver for a network interface. I need have a fine-grain >timer (33us). Could anyone tell me how to get it? > You will have to use DELAY(33). -- Poul-Henning Kamp | UNIX sinc

Re: Fine grain timer

2000-08-01 Thread Daniel Eischen
On Tue, 1 Aug 2000, Yingfei Dong wrote: > hi, folks, > > I am revising a driver for a network interface. I need have a fine-grain > timer (33us). Could anyone tell me how to get it? Why would you need a 33us timer? Does your hardware not generate interrupts? -- Dan Eischen To

Fine grain timer

2000-08-01 Thread Yingfei Dong
hi, folks, I am revising a driver for a network interface. I need have a fine-grain timer (33us). Could anyone tell me how to get it? I checked /sys/kern/kern_clock.c. Is it the right place? Could I just revise 'hz' to make the timeout function to do it? Where does 'hz' is