discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ANN: TimeMon 4.0 ported to GNUstep


From: Alexander Malmberg
Subject: Re: ANN: TimeMon 4.0 ported to GNUstep
Date: Tue, 25 Jan 2005 17:54:09 +0100
User-agent: Mozilla Thunderbird 0.9 (X11/20041124)

Pete French wrote:
They are SUN-isms - or at least the last two are. I've used KVM
stuff before to fix some bits in NSProcessInfo. Havent looked at
the source to TimeMon as yet, but if you let me know what stats
you are after I should be able to come up with some code pretty
easily.

It's all abstracted out to loadave.c. The functions are supposed to fill in the given array with cumulative totals of "time" the system has spent doing various stuff (the CP_* constants). The unit of time doesn't matter; the values will be normalized before being used. It doesn't matter where the 'baseline' for the totals are; totals since the system started work fine.

(The name is a bit misleading; this doesn't really have anything to do with the load average. :)

- Alexander Malmberg



reply via email to

[Prev in Thread] Current Thread [Next in Thread]