From owner-freebsd-hackers Fri Oct 16 03:23:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA09196 for freebsd-hackers-outgoing; Fri, 16 Oct 1998 03:23:18 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from Thingol.KryptoKom.DE (Thingol.KryptoKom.DE [194.245.91.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA09191 for ; Fri, 16 Oct 1998 03:23:11 -0700 (PDT) (envelope-from Etienne.Debruin@KryptoKom.DE) Received: (from mail@localhost) by Thingol.KryptoKom.DE (8.8.7/8.8.4) id MAA09995 for ; Fri, 16 Oct 1998 12:13:13 +0200 Received: from cirdan.kryptokom.de by via smtpp (Version 1.1.1b4) id kwa09991; Fri Oct 16 12:13:06 1998 Received: by Cirdan.KryptoKom.DE (8.8.5/8.8.5) with ESMTP id MAA30053 for ; Fri, 16 Oct 1998 12:21:21 +0200 Original: Received: (from debruin@localhost) by borg.kryptokom.de (8.8.8/8.8.8) id MAA00614 for freebsd-hackers@freebsd.org; Fri, 16 Oct 1998 12:22:24 +0200 (CEST) (envelope-from debruin) From: Etienne de Bruin Message-Id: <199810161022.MAA00614@borg.kryptokom.de> Subject: timing a device driver To: freebsd-hackers@FreeBSD.ORG (Hackers FreeBSD) Date: Fri, 16 Oct 1998 12:22:23 +0200 (CEST) X-Mailer: ELM [version 2.4ME+ PL43 (25)] 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 i would like to time my device driver from within the kernel. so, what functions exist for me to be able to time, in miliseconds, how long a chunk of code takes. eT -- Etienne de Bruin, KryptoKom(R), Germany. eT@kryptokom.de +49 241 963 2635(w) "i'm living proof that the spirit moves" - dc talk, the truth. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message