Message-Id: Comments: Authenticated sender is From: "Salvador Eduardo Tropea (SET)" Organization: INTI To: George Foot , djgpp AT delorie DOT com Date: Tue, 25 Nov 1997 11:07:41 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Intermittent Run-Time of DJGPP App under Win95 In-reply-to: <65cngc$bo7$1@news.ox.ac.uk> Precedence: bulk George Foot wrote: > On Mon, 24 Nov 1997 12:07:32 GMT in comp.os.msdos.djgpp Salvador Eduardo Tropea (SET) wrote: > > : That's the third user reporting a similar thing (the first was the one that > : says your programs runs faster from inside of RHIDE). Seems that W95 scheduler > : have some strnage behavior with DJGPP applications. > : Does anybody have an idea on how to meassure it or figure out what exactly is > : the problem? > > Win95's Virtual Timer Device VxD provides three functions; in > particular, one of them (0x0101) returns the time in milliseconds that > Windows has been active, and another (0x0102) returns the time in > milliseconds that the current session has been actively executed (I > forget the exact wording -- it means, how many milliseconds of the > processor's time have been spent on this DOS box). I believe you can > use a combination of the two to find out what percentage of CPU time > Windows is giving your application. Is this the information you were > seeking? Don't know. I think it can help to make the program to meassure the problem. SET ------------------------------------ 0 -------------------------------- Visit my home page: http://www.geocities.com/SiliconValley/Vista/6552/ Salvador Eduardo Tropea (SET). (Electronics Engineer) Alternative e-mail: set-sot AT usa DOT net - ICQ: 2951574 Address: Curapaligue 2124, Caseros, 3 de Febrero Buenos Aires, (1678), ARGENTINA TE: +(541) 759 0013