home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / dos / timer / microtim / timer.h < prev    next >
Encoding:
Text File  |  1993-03-15  |  480 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. void    initializetimer(void);
  11.  
  12. /*Restore the timer chip to its normal state*/
  13. void    restoretimer(void);
  14.  
  15. /*Read the timer with 1 millisecond resolution*/
  16. long    readtimer(void);
  17.