delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/09/10/07:46:14

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: System call which gets CPU utilized capacity
Date: 10 Sep 2003 11:32:47 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 15
Message-ID: <bjn24v$s5t$1@nets3.rz.RWTH-Aachen.DE>
References: <bjmnbm$kjlk7$1 AT ID-79865 DOT news DOT uni-berlin DOT de>
NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 1063193567 28861 137.226.32.75 (10 Sep 2003 11:32:47 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 10 Sep 2003 11:32:47 GMT
Originator: broeker@
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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".



-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019