home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / dos / timer / msec_12 / timer.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-12-11  |  501 b   |  17 lines

  1. /* timer.h
  2.  * Include file defining the timer routines.
  3.  * Include this file in any program using them.
  4.  */
  5.  
  6. /*Calculate time elapsed (in milliseconds) between Start and Stop*/
  7. unsigned long    elapsedtime(long start, long stop);
  8.  
  9. /*Reprogram the timer chip to allow 1 millisecond resolution*/
  10. extern void    initializetimer(void);
  11.  
  12. /*Restore the timer chip to its normal state*/
  13. extern void    restoretimer(void);
  14.  
  15. /*Read the timer with 1 millisecond resolution*/
  16. extern long    readtimer(void);
  17.