From owner-freebsd-hackers Sun Jan 3 09:42:46 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA17930 for freebsd-hackers-outgoing; Sun, 3 Jan 1999 09:42:46 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from cs.rice.edu (cs.rice.edu [128.42.1.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA17925 for ; Sun, 3 Jan 1999 09:42:44 -0800 (PST) (envelope-from aron@cs.rice.edu) Received: (from aron@localhost) by cs.rice.edu (8.9.0/8.9.0) id LAA21838 for freebsd-hackers@freebsd.org; Sun, 3 Jan 1999 11:42:19 -0600 (CST) From: Mohit Aron Message-Id: <199901031742.LAA21838@cs.rice.edu> Subject: fine-grained timers To: freebsd-hackers@FreeBSD.ORG Date: Sun, 3 Jan 1999 11:42:19 -0600 (CST) X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I'm using FreeBSD-2.2.6. I want to make FreeBSD generate timer interrupts with a granularity as fine as 100usecs. Since the hardclock() operates at a 10ms granularity, its not of much use. I also want to disable dynamically the fine-grained interrupts, so I don't want to simply modify the granularity at which hardclock gets called. Can someone suggest the functions or places in the kernel which I should modify to register my own interrupt handler. Thanks, - Mohit To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message