windows-nt/Source/XPSP1/NT/base/screg/winreg/perfdlls/os/perfos.h

38 lines
1 KiB
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
extern HANDLE hEventLog; // handle to event log
extern HANDLE hLibHeap; // dll heap
extern SYSTEM_BASIC_INFORMATION BasicInfo;
extern SYSTEM_PERFORMANCE_INFORMATION SysPerfInfo;
extern LPWSTR wszTotal;
extern DWORD dwObjOpenCount;
extern DWORD dwCpuOpenCount;
extern DWORD dwPageOpenCount;
// perfos.c
PM_QUERY_PROC QueryOsObjectData;
// perfcach.c
PM_LOCAL_COLLECT_PROC CollectCacheObjectData;
// perfcpu.c
PM_OPEN_PROC OpenProcessorObject;
PM_LOCAL_COLLECT_PROC CollectProcessorObjectData;
PM_CLOSE_PROC CloseProcessorObject;
// perfmem.c
PM_LOCAL_COLLECT_PROC CollectMemoryObjectData;
// perfobj.c
PM_OPEN_PROC OpenObjectsObject;
PM_LOCAL_COLLECT_PROC CollectObjectsObjectData;
PM_CLOSE_PROC CloseObjectsObject;
// perfpage.c
PM_OPEN_PROC OpenPageFileObject;
PM_LOCAL_COLLECT_PROC CollectPageFileObjectData;
PM_CLOSE_PROC ClosePageFileObject;
// perfsys.c
PM_LOCAL_COLLECT_PROC CollectSystemObjectData;