Process Hacker
Main Page
Namespaces
Data Structures
Files
File List
Globals
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
7
ULONG
BaseThreadsCreated
;
8
ULONG
BaseThreadsCreateFailed
;
9
ULONG
BaseStringBuildersCreated
;
10
ULONG
BaseStringBuildersResized
;
11
12
// ref
13
ULONG
RefObjectsCreated
;
14
ULONG
RefObjectsDestroyed
;
15
ULONG
RefObjectsAllocated
;
16
ULONG
RefObjectsFreed
;
17
ULONG
RefObjectsAllocatedFromSmallFreeList
;
18
ULONG
RefObjectsFreedToSmallFreeList
;
19
ULONG
RefObjectsAllocatedFromTypeFreeList
;
20
ULONG
RefObjectsFreedToTypeFreeList
;
21
ULONG
RefObjectsDeleteDeferred
;
22
ULONG
RefAutoPoolsCreated
;
23
ULONG
RefAutoPoolsDestroyed
;
24
ULONG
RefAutoPoolsDynamicAllocated
;
25
ULONG
RefAutoPoolsDynamicResized
;
26
27
// queuedlock
28
ULONG
QlBlockSpins
;
29
ULONG
QlBlockWaits
;
30
ULONG
QlAcquireExclusiveBlocks
;
31
ULONG
QlAcquireSharedBlocks
;
32
33
// workqueue
34
ULONG
WqWorkQueueThreadsCreated
;
35
ULONG
WqWorkQueueThreadsCreateFailed
;
36
ULONG
WqWorkItemsQueued
;
37
}
PHLIB_STATISTICS_BLOCK
;
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
phlib
include
phintrnl.h
Generated by
1.8.2