X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Richard Dawe Newsgroups: comp.os.msdos.djgpp Subject: Re: System call which gets CPU utilized capacity Date: Wed, 10 Sep 2003 20:58:18 +0100 Lines: 23 Message-ID: <3F5F825A.19A87BC4@phekda.freeserve.co.uk> References: NNTP-Posting-Host: 217.135.163.174 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: newsg1.svr.pol.co.uk 1063224022 4204 217.135.163.174 (10 Sep 2003 20:00:22 GMT) NNTP-Posting-Date: 10 Sep 2003 20:00:22 GMT X-Complaints-To: abuse AT theplanet DOT net X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.23 i586) X-Accept-Language: de,fr To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello. Hans-Bernhard Broeker wrote: > > Alex Vinokur wrote: > > > Is there in DJGPP any system call which gets CPU utilized capacity > > at the present moment? > > No --- there would be no point. DOS is a single tasking operating > system, so there's nothing else except the program itself that's going > to make use of the CPU time. I.e. the value returned by that function > would be a constant "100 percent CPU used". How about under Windows? In that case, it might be useful. I had a quick look at the DPMI specification and I couldn't see anything there. Regards, -- Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]