Re: Where does sysinfo get called?

Stuart Myles wrote:
> 
> I am trying to track down an obscure performance bug that I'm seeing
> on Solaris 2.6.  It is occuring during the initialization of libwww.  I
> don't think its caused by libwww, I think its something in the OS thats
> triggered by libwww.
> 
> Anyway - I'm trying to figure out where the system call "sysinfo" is
> getting called by libwww.  If I run the following program:

One call is in HTGetHostName() in

	http://www.w3.org/Library/src/HTInet.c

which is called twice: once in HTGetMailAddress() in the same file and
once in HTUserProfile_localize in

	http://www.w3.org/Library/src/HTUser.c

Maybe it should be cached but I guess that's a detail.

-- 
Henrik Frystyk Nielsen, <frystyk@w3.org>
World Wide Web Consortium, MIT/LCS NE43-356
545 Technology Square, Cambridge MA 02139, USA

Received on Tuesday, 22 June 1999 19:54:48 UTC