windows-nt/Source/XPSP1/NT/net/jet500/jet/dae/inc/daedebug.h
2020-09-26 16:20:57 +08:00

32 lines
384 B
C

#ifndef DEBUG
#define PrintF()
#endif /* !DEBUG */
#ifdef DEBUG
VOID MEMPrintStat( VOID );
typedef struct _statis
{
long l;
char *sz;
} STATIS;
extern STATIS rgstatis[];
#define BFEvictBG 0
#define BFEvictFG 1
#define BFEvictClean 2
#define BFEvictDirty 3
#define istatisMac 4
#define STATS(c) rgstatis[c].l++
#else /* !DEBUG */
#define STATS(c)
#endif /* !DEBUG */