Date: Tue, 1 Aug 2000 14:05:23 -0500 (CDT) From: Yingfei Dong <dong@cs.umn.edu> To: freebsd-hackers@FreeBSD.org Subject: Fine grain timer Message-ID: <Pine.LNX.4.10.10008011401330.14062-100000@chopin.cs.umn.edu>
next in thread | raw e-mail | index | archive | help
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 initialized? I got a response from misc news list, which warns me never try to change 'hz' over 1000. It means the resolution of the timer is 1ms. But I need 33us timer. ANy inputs? thanks for your help, PS: sorry for repost this because I just check the archive and found out it set a wrong subject of my previous posting. =================================================== Yingfei Dong 4-192 EECS Building, 200 Union Street, SE Tel: 612-626-7526 Minneapolis, MN 55455 FAX: 612-625-0572 =================================================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.10.10008011401330.14062-100000>