home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / oper_sys / fp / ifp_unix.lzh / ifp / interp / stats.h < prev    next >
Encoding:
C/C++ Source or Header  |  1989-05-23  |  2.0 KB  |  50 lines

  1.  
  2. /****** stats.h *******************************************************/
  3. /**                                                                  **/
  4. /**                    University of Illinois                        **/
  5. /**                                                                  **/
  6. /**                Department of Computer Science                    **/
  7. /**                                                                  **/
  8. /**   Tool: IFP                         Version: 0.5                 **/
  9. /**                                                                  **/
  10. /**   Author:  Arch D. Robison          Date:   May 1, 1985          **/
  11. /**                                                                  **/
  12. /**   Revised by: Arch D. Robison       Date:   Dec 8, 1985          **/
  13. /**                                                                  **/
  14. /**   Principal Investigators: Prof. R. H. Campbell                  **/
  15. /**                            Prof. W. J. Kubitz                    **/
  16. /**                                                                  **/
  17. /**                                                                  **/
  18. /**------------------------------------------------------------------**/
  19. /**   (C) Copyright 1987  University of Illinois Board of Trustees   **/
  20. /**                       All Rights Reserved.                       **/
  21. /**********************************************************************/
  22.  
  23. /* 
  24.  * Defining STATS=1 causes interpreter to collect statistics. 
  25.  * Define STATS=0 for production work since statistics collection
  26.  * slows the interpreter.
  27.  */
  28. #define STATS 0
  29.       
  30. #if STATS
  31.  
  32. #define StatLimLen 5
  33. #define Stat(X) X
  34. extern long StatRecycle,StatFresh;
  35. extern long StatArg [];
  36. extern long Stat_Apply [];
  37. extern long Stat_NewList [];
  38. extern long Stat1Simple,Stat2Simple;
  39. extern void ShowStats();
  40. extern void StatApply(), StatConstruct(), StatConstant();
  41. extern void StatNewList(), StatDelLPtr();
  42. #else
  43.  
  44. #define Stat(X) 
  45.  
  46. #endif
  47.  
  48. /**************************** end of stats.h ****************************/
  49.  
  50.