Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jan 2006 09:32:49 -0800
From:      Bharma Ji <bharmaji@gmail.com>
To:        freebsd-drivers@freebsd.org
Subject:   How to profile a driver
Message-ID:  <67beabb0601300932u50554f86i3b068258e013af02@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I am trying to optimize a driver for performance. What are the standard way=
s
to profile a driver?

 My problem at the moment is that when I run a test and max out the CPU,
then the system % is 60 and user % is 30. I wanted to find out how much tim=
e
is being spent in the driver(and within it, if possible in what components)=
.
Can this be determined and if so, how to figure this out.



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