Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.0 KiB

  1. extern HANDLE hEventLog; // handle to event log
  2. extern HANDLE hLibHeap; // dll heap
  3. extern SYSTEM_BASIC_INFORMATION BasicInfo;
  4. extern SYSTEM_PERFORMANCE_INFORMATION SysPerfInfo;
  5. extern LPWSTR wszTotal;
  6. extern DWORD dwObjOpenCount;
  7. extern DWORD dwCpuOpenCount;
  8. extern DWORD dwPageOpenCount;
  9. // perfos.c
  10. PM_QUERY_PROC QueryOsObjectData;
  11. // perfcach.c
  12. PM_LOCAL_COLLECT_PROC CollectCacheObjectData;
  13. // perfcpu.c
  14. PM_OPEN_PROC OpenProcessorObject;
  15. PM_LOCAL_COLLECT_PROC CollectProcessorObjectData;
  16. PM_CLOSE_PROC CloseProcessorObject;
  17. // perfmem.c
  18. PM_LOCAL_COLLECT_PROC CollectMemoryObjectData;
  19. // perfobj.c
  20. PM_OPEN_PROC OpenObjectsObject;
  21. PM_LOCAL_COLLECT_PROC CollectObjectsObjectData;
  22. PM_CLOSE_PROC CloseObjectsObject;
  23. // perfpage.c
  24. PM_OPEN_PROC OpenPageFileObject;
  25. PM_LOCAL_COLLECT_PROC CollectPageFileObjectData;
  26. PM_CLOSE_PROC ClosePageFileObject;
  27. // perfsys.c
  28. PM_LOCAL_COLLECT_PROC CollectSystemObjectData;
  29.