home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / dos / timer / milli / timer.h < prev   
Encoding:
Text File  |  1994-06-12  |  468 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 seconds) between Start and Stop*/
  7. double    elapsedtime(long start, long stop);
  8.  
  9. /*Reprogram the timer chip to allow 1 microsecond 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 microsecond resolution*/
  16. long    readtimer(void);
  17.