W3C home > Mailing lists > Public > www-lib@w3.org > April to June 1999

Re: Where does sysinfo get called?

From: Henrik Frystyk Nielsen <frystyk@w3.org>
Date: Tue, 22 Jun 1999 19:54:44 -0400
To: www-lib@w3.org
Message-ID: <37702244.87FC28B1@w3.org>
To: Stuart Myles <smyles@wsj.dowjones.com>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:29 GMT