windows-nt/Source/XPSP1/NT/net/jet500/jet/dae/inc/daedebug.h

32 lines
384 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
#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 */