www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/13/07:18:46

From: Jan Hubicka <hubicka AT atrey DOT karlin DOT mff DOT cuni DOT cz>
Message-Id: <199702131207.NAA26500@atrey.karlin.mff.cuni.cz>
Subject: Exact timming II
To: djgpp AT delorie DOT com
Date: Thu, 13 Feb 1997 13:07:10 +0100 (MET)
MIME-Version: 1.0

Hi

I use uclock and it works perfectly in most my programs. But in XaoS
it causes problems. Time calculated by:

b=uclock();
some stuff
c=uclock()-b;
sometimes c is lower than 0 and sometimes greater. It is caused by allegro
timers. When I disable them it works well but mouse/dialogs are broken.
Is there any solution except use allegros timers for my own clock counter
at higher freqency thats breaks my idea of univerzal time library I use in
most my programs?

BTW similiar efect is caused by linux dosemu too.

Honza

- Raw text -


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