Date: Sun, 10 Nov 1996 11:01:28 +0100 (MET) From: J Wunsch <j@uriah.heep.sax.de> To: obrien@NUXI.com (David E. O'Brien) Cc: ports@FreeBSD.org Subject: Re: XFree86 contrib Message-ID: <199611101001.LAA09238@uriah.heep.sax.de> In-Reply-To: <199611100259.SAA14728@relay.nuxi.com> from "David E. O'Brien" at "Nov 9, 96 06:59:24 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
As David E. O'Brien wrote: > > That was truly a shot in the dark, all the clue I had was an "#else /* > > __bsdi__ */" and I don't know what BSDi's doing. i hope I didn't > > embarrass myself.... > > W/o see the entire function, it is hard to say. But I can say that > BSD/OS has a different interface for getting cpu usage from the kernel. > I had to work thru this in my xcpustate port. They use getkerninfo() > rather than our kvm_read(). We don't use kvm_read() either. ;-) Both systems have getloadavg(3) and applications should not care how the system actually implements it. I've already forwarded the fix from the XFree86 beta list to Satoshi. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611101001.LAA09238>