home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / C / Applications / Moscow ML 1.42 / src / !runtime / runtime.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-08-18  |  474 b   |  31 lines  |  [TEXT/R*ch]

  1. /* runtime.h */
  2.  
  3. #ifdef macintosh
  4.  
  5. /* 23Nov93  e */
  6. /* 16Mar94  e */
  7.  
  8. void init_timers(void);
  9. void beg_runtime(int);
  10. void acc_runtime(int);
  11.  
  12. #define beg_gc_time() beg_runtime(1)
  13. #define end_gc_time() acc_runtime(1)
  14.  
  15. #define beg_mf_time() beg_runtime(2)
  16. #define end_mf_time() acc_runtime(2)
  17.  
  18. #else
  19.  
  20. void beg_gc_time();
  21. void end_gc_time();
  22.  
  23. struct mosml_timeval {
  24.     long    tv_sec;        /* seconds */
  25.     long    tv_usec;    /* microseconds */
  26. };
  27.  
  28. extern struct mosml_timeval gc_time;
  29.  
  30. #endif
  31.