Forgot to say that kernel should be compiled with CONFIG_PROFILING=y
to get information about accumulated time in each function.

/Christian

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)
> <Ctrl-C>
> gprof -b /opt/owfs/bin/owhttpd
> 
> 
-- 
Christian Magnusson <[EMAIL PROTECTED]>



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to