Forgot to say that kernel should be compiled with CONFIG_PROFILING=y
to get information about accumulated time in each function.
On Wed, 2005-06-29 at 14:47 +0200, Christian Magnusson wrote:
> I have optimized some functions which I noticed took very long time to
> execute, and I have decreased the usage of UT_delay too...
> I added --enable-profiling to configure. It doesn't work with dynamic
> linked libow, so use it like this:
> ./bootstrap --enable-profiling --disable-shared
> make ; make install
> /opt/owfs/bin/owhttpd --foreground -p 3333 -u
> (Stress-test it for a while)
> gprof -b /opt/owfs/bin/owhttpd