From owner-freebsd-hackers Thu Apr 3 11:41:25 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA11394 for hackers-outgoing; Thu, 3 Apr 1997 11:41:25 -0800 (PST) Received: from gordini.inf.ufrgs.br (maspohn@[143.54.83.8]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA11389 for ; Thu, 3 Apr 1997 11:41:19 -0800 (PST) Received: from localhost (maspohn@localhost) by gordini.inf.ufrgs.br (8.7.5/8.7.3) with SMTP id QAA01147 for ; Thu, 3 Apr 1997 16:38:29 -0300 Date: Thu, 3 Apr 1997 16:38:27 -0300 (EST) From: Marco Aurelio Spohn To: freebsd-hackers@FreeBSD.ORG Subject: How to obtain time during the packet filtering process... Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi! I'm working with the packet filter "ipfw". I intend to measure the time spent during the packet filter process but it's not possible, for instance, using "gettimeofday" to obtain the time before and after the filtering. Do anybody know how i could do it? Thanks in advance! Marco Aurelio Spohn maspohn@inf.ufrgs.br Universidade Federal do Rio Grande do Sul Brasil - Porto Alegre - RS