delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/10/31/21:30:17

From: dcasale AT my-deja DOT com
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Elapsed time?
Date: Tue, 31 Oct 2000 23:56:38 GMT
Organization: Deja.com - Before you buy.
Lines: 56
Message-ID: <8tnm7j$mgi$1@nnrp1.deja.com>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1001024093648 DOT 24828K-100000 AT is> <8ta628$4t7$1 AT nnrp1 DOT deja DOT com> <7458-Fri27Oct2000080225+0200-eliz AT is DOT elta DOT co DOT il>
NNTP-Posting-Host: 199.249.234.30
X-Article-Creation-Date: Tue Oct 31 23:56:38 2000 GMT
X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)
X-Http-Proxy: 1.1 x66.deja.com:80 (Squid/1.1.22) for client 199.249.234.30
X-MyDeja-Info: XMYDJUIDdcasale
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

In article <7458-Fri27Oct2000080225+0200-eliz AT is DOT elta DOT co DOT il>,
  djgpp AT delorie DOT com wrote:
> > From: dcasale AT my-deja DOT com
> > Newsgroups: comp.os.msdos.djgpp
> > Date: Thu, 26 Oct 2000 21:00:59 GMT
> > >
> > > > My program is, obviously, extremely disk-intensive.  I'm caching
> > > > reads and writes with separate 5MB buffers.  Could this cause
> > > > the problem?
> > >
> > > No disk I/O should ever affect the system clock.
> >
> > Are you absolutely sure about that?
>
> Yes.  The timer interrupt has the highest priority, and so should not
> be affected by almost anything else.

_Should_ not be?  Well obviously it _is_ being affected.  This is a DOS
program, running in straight DOS.  I'd like to know why.  *sighs*

> > I've noticed the WinBloze clock slowing down sometimes, when there's
> > a lot of disk activity or processor-intensive activity going on.
>
> Is that the same machine, or did you try this on several different
> systems?  If that's the same machine, my first suspicion would be
> either some optional software that you have installed there, or a
> hardware problem.

At least two different systems.

> FWIW, I run Windows 9X for days and weeks on end without rebooting,
> running disk-intensive and CPU-intensive program on it all the time,
> and I don't see any visible time slow-down.

*shrugs*  Well, I _have_ seen slowdowns.  Granted, not often, but I
have seen them.

> > What's even more interesting is that the clock is slow after the
> > program finishes, but a system reboot resets the clock to the proper
> > time.
>
> That's because rebooting causes the system clock to be initialized
> from the CMOS clock, which is autonomous and doesn't suffer from the
> usual factors that can slow down the system clock.

*nod*  Okay.

That makes me wonder.  Is there some way to read the CMOS clock on the
fly?

Damon Casale, damon AT WRONG DOT redshift DOT com (remove the obvious)
Annoyed and disgruntled.


Sent via Deja.com http://www.deja.com/
Before you buy.

- Raw text -


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