TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Paul Sidorsky
from: Bob Plyler
date: 1995-05-28 09:32:00
subject: Borland C++ (Os/2)

* In a message originally to Murray Lesser, Paul Sidorsky said:
 > Hello Murray!

 > In a message written on Wednesday May 17 1995, Murray Lesser
 > insanely
 > babbles to Paul Sidorsky:

 > ML>     The DOS system clock (the PC timer counter)
"ticks" (is updated)
 > ML> about 18.2065 times per second (actually 1,573,040 ticks before
 > ML> rollover, which is every 86,400 seconds, assuming the clock is
 > ML> accurate).  The OS/2 system clock (the "real-time
clock") "ticks"
 > ML> exactly 31.25 times per second (same assumption).  These
"tick rates"
 > ML> indicate only the granularity of the system clock readings--an
 > ML> indication of the significance of the value of a time interval
 > measured
 > ML> by two readings of the system clock (same assumption).

Be aware that OS/2 allows you to read a high-resolution timer.
The calls are:

  DosTmrQueryFreq and
  DosTmrQueryTime

They are not documented, but they are prototyped in BSEDOS.H
EXTRA uses these calls to time your functions when you are
using a trace.  These calls have around a microsecond resolution.

Bob Plyler

--- GEcho 1.11+
* Origin: The Transporter Room: 8 lines 22gig! 30 CD's 704/567-9513 (1:379/1)
SEEN-BY: 105/42 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407
SEEN-BY: 712/515 628 704 713/888 800/1 7877/2809
@PATH: 379/1 3615/50 396/1 270/101 105/103 42 712/515 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.