Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
415 B

  1. #ifndef DEBUG
  2. #define PrintF()
  3. #endif /* !DEBUG */
  4. #ifdef DEBUG
  5. VOID MEMPrintStat( VOID );
  6. typedef struct _statis
  7. {
  8. long l;
  9. char *sz;
  10. } STATIS;
  11. extern STATIS rgstatis[];
  12. #define BFEvictBG 0
  13. #define BFEvictFG 1
  14. #define BFEvictClean 2
  15. #define BFEvictDirty 3
  16. #define istatisMac 4
  17. #define STATS(c) rgstatis[c].l++
  18. #else /* !DEBUG */
  19. #define STATS(c)
  20. #endif /* !DEBUG */