delorie.com/archives/browse.cgi | search |
From: | Andrew Cottrell <andnews AT ihug DOT com DOT oz DOT au> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: how to make a Timer |
Date: | Sat, 01 Feb 2003 14:16:35 +1100 |
Organization: | ECLiPSE |
Lines: | 16 |
Message-ID: | <7tem3vgh4f81aiv5lcdq3s4d63rn3vrk5k@4ax.com> |
References: | <004b01c2c905$14731120$0203a8c0 AT JeanBaptiste> <ovhk3v81mbk4bd9iclc8dos1gmvrdu6a0d AT 4ax DOT com> |
NNTP-Posting-Host: | p481-tnt8.syd.ihug.com.au |
Mime-Version: | 1.0 |
X-Trace: | lust.ihug.co.nz 1044069397 11665 203.173.148.227 (1 Feb 2003 03:16:37 GMT) |
X-Complaints-To: | abuse AT ihug DOT co DOT nz |
NNTP-Posting-Date: | Sat, 1 Feb 2003 03:16:37 +0000 (UTC) |
X-Newsreader: | Forte Agent 1.92/32.572 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
>>i want to use a simple timer with about 10ms precision. i have the last >>version of djgpp, i just want to do something like: >>timer.start(); >>.... >>timer.stop(); >>timer.print_value_ms(); > >info libc a uclock In the v2tk directory on simtel and mirrors there is at least one timer library and you can always extract the timer library out of allegro and make it stand alone (it does take a bit of time to do but the result is allot smaller exe than if you incldued all of the allegro library). Andrew
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |