TIMING.H 456 B

123456789101112131415161718192021222324
  1. #ifndef _TIMING_H_
  2. #define _TIMING_H_
  3. //#define TIMING
  4. #if defined(TIMING) && !defined(__alpha)
  5. void _timingPrint(void);
  6. void _timingInit(void);
  7. void _timingLeave(int);
  8. void _timingEnter(int);
  9. #define timingPrint() _timingPrint()
  10. #define timingInit() _timingInit()
  11. #define timingLeave(x) _timingLeave(x)
  12. #define timingEnter(x) _timingEnter(x)
  13. #else
  14. #define timingPrint()
  15. #define timingInit()
  16. #define timingLeave(x)
  17. #define timingEnter(x)
  18. #endif
  19. #endif