Process Hacker
phintrnl.h
Go to the documentation of this file.
1 #ifndef _PH_PHINTRNL_H
2 #define _PH_PHINTRNL_H
3 
4 typedef struct _PHLIB_STATISTICS_BLOCK
5 {
6  // basesup
11 
12  // ref
26 
27  // queuedlock
28  ULONG QlBlockSpins;
29  ULONG QlBlockWaits;
32 
33  // workqueue
38 
39 #ifdef DEBUG
40 extern PHLIB_STATISTICS_BLOCK PhLibStatisticsBlock;
41 #endif
42 
43 #ifdef DEBUG
44 #define PHLIB_INC_STATISTIC(Name) (_InterlockedIncrement(&PhLibStatisticsBlock.Name))
45 #else
46 #define PHLIB_INC_STATISTIC(Name)
47 #endif
48 
49 #endif