Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Nov 1995 13:19:04 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        guido@gvr.win.tue.nl (Guido van Rooij)
Cc:        hackers@FreeBSD.org
Subject:   Re: %time spend in ip packet processing
Message-ID:  <199511072019.NAA18215@phaeton.artisoft.com>
In-Reply-To: <199511071915.UAA26991@gvr.win.tue.nl> from "Guido van Rooij" at Nov 7, 95 08:15:06 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> How can I see how much time the kernel spends in IP pakcet processing?
> top's output of %interrup doesnt include it so it seems. This
> is on a 2.0R system.

If you can get a time stamp facility and add funtion exit as well
as entry tags (or do stack hacking like I did with -Gh's __peneter()
calls in MSVC), then you can do kernel block profiling.

Sounds like block profiling is what you need -- not statistical
profiling, which is what the gprof stuff provides.

There's a paper on ftp.sage.usenix.org on profiling this way.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511072019.NAA18215>