Mail Archives: djgpp/1999/06/17/12:14:35
Eli Zaretskii wrote:
> The WinTop program shows that the Explorer consumes 0% CPU. The only
> Windows task that consumes something visible while I type is
> SYSDOC32.EXE (whatever that means), and it takes something like 0.5%,
> sometimes goes up to 0.84%. Everything else is idling.
>
I suspect it's the windows DPMI stuff, and in general, all vm interupts.
Process creation/memory allocation (behind sbrk)/interupt
enabling/disabling,.... it all adds up.
Once apon a time, I wrote a program in DJGPP. It took a file as an input
and would do the exact same set of actions, for the exact same input data
(deterministic). When I ran it in real DOS with the same input file, it
always ended up taking the exact same amount of time. Under W95, not only
was it running at 10-30% slower, but it would vary greatly from one moment to
another. I would run it twice in a row, and one would be 9.8 seconds, the
other would be 7.6 seconds. That just goes to show that nobody really knows
what W95 does in it's spare time.
--
-Rolf Campbell (39)3-6318
- Raw text -