delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
From: | Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk> |
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: | <bjmnbm$kjlk7$1 AT ID-79865 DOT news DOT uni-berlin DOT de> <bjn24v$s5t$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> |
NNTP-Posting-Host: | 217.135.163.174 |
Mime-Version: | 1.0 |
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 <alexvn AT bigfoot DOT com> 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/ ]
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |