www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/02/25/23:00:03

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: kgangakhedkar AT yahoo DOT com (Kunal Gangakhedkar)
Newsgroups: comp.os.msdos.djgpp
Subject: Timer Interrupt ?????
Date: 25 Feb 2002 19:56:42 -0800
Organization: http://groups.google.com/
Lines: 21
Message-ID: <60683970.0202251956.22345c04@posting.google.com>
NNTP-Posting-Host: 203.199.36.196
X-Trace: posting.google.com 1014695802 15364 127.0.0.1 (26 Feb 2002 03:56:42 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: 26 Feb 2002 03:56:42 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi there,

I'm working on a process simulator right now.
For that purpose, I need to change the system timer granularity.
Because, the default granularity of 54926 microsec using a standard
18.2Hz clock is quite high for my usage. This time interval is quite
large for Process CPU/IO Bursts generated in our simulator.

I know there is one extern long variable "__djgpp_ticks_per_clock" or
something like that in time.h. But this will work in only DJGPP
Environment.
But we're supposed to work on TC or Borland compilers.

Is there any generic way of changing the system clock granularity??

One more thing, is there any way of implementing this kinda thing in a
portable way??

Kunal Gangakhedkar
(kgangakhedkar AT yahoo DOT com)
(kgangakhedkar AT softhome DOT net)

- Raw text -


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