delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/02/16/02:43:06

From: "Rob Kramer" <robk AT cyberway DOT com DOT sg>
Newsgroups: comp.os.msdos.djgpp
References: <3a8ca532$1 AT news DOT starhub DOT net DOT sg> <7458-Fri16Feb2001081657+0200-eliz AT is DOT elta DOT co DOT il>
Subject: Re: System clock problem.
Date: Fri, 16 Feb 2001 15:18:41 +0800
Lines: 41
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
NNTP-Posting-Host: 203.117.152.118
Message-ID: <3a8cd661$1@news.starhub.net.sg>
X-Trace: 16 Feb 2001 15:27:29 +0800, 203.117.152.118
Organization: StarHub Internet Pte Ltd
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> wrote in message
news:7458-Fri16Feb2001081657+0200-eliz AT is DOT elta DOT co DOT il...
> > From: "Rob Kramer" <robk AT cyberway DOT com DOT sg>
> > Newsgroups: comp.os.msdos.djgpp
> > Date: Fri, 16 Feb 2001 11:48:33 +0800
> >
> > My application shows a clock on a graphics screen, amongst other things.
> > Recently I've had a problem that on some devices (after 2.5 years of
perfect
> > operation) the clock starts speeding up mysteriously.
>
> What do you mean by ``devices''?  Does that mean this happens on some
> PCs but not on others?

Correct, there's about 50 of these devices (embedded PCs). 3 are starting to
show the problem now. I'm suspecting a hardware problem, but can't explain
why all is fine again after I exit my application.

> ``Go back'' here means that you just exit the program?  You don't
> reboot, do you?

Exit yes, no reboot.

> > There's only one RTC, right.. If I
> > start my application again, it's fine (but only for a few hours/days).
>
> Try to use `gettimeofday' and compare its output to what `time'
> produces.  Perhaps it will tell you something.

But... all time() does is call gettimeofday(), so I don't think that would
be helpful. (?)

I'm stumped here..

Thanks for your reply,

    Rob




- Raw text -


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