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.

58 lines
1.4 KiB

  1. /*++
  2. Copyright (c) 1996 Microsoft Corporation
  3. Module Name:
  4. DATAOBJ.h
  5. Abstract:
  6. Header file for the Windows NT OS Objects Performance counters.
  7. This file contains definitions to construct the dynamic data
  8. which is returned by the Configuration Registry. Data from
  9. various system API calls is placed into the structures shown
  10. here.
  11. Author:
  12. Bob Watson 28-Oct-1996
  13. Revision History:
  14. --*/
  15. #ifndef _DATAOBJ_H_
  16. #define _DATAOBJ_H_
  17. //
  18. // Objects Performance Data Object
  19. //
  20. typedef struct _OBJECTS_DATA_DEFINITION {
  21. PERF_OBJECT_TYPE ObjectsObjectType;
  22. PERF_COUNTER_DEFINITION cdProcesses;
  23. PERF_COUNTER_DEFINITION cdThreads;
  24. PERF_COUNTER_DEFINITION cdEvents;
  25. PERF_COUNTER_DEFINITION cdSemaphores;
  26. PERF_COUNTER_DEFINITION cdMutexes;
  27. PERF_COUNTER_DEFINITION cdSections;
  28. } OBJECTS_DATA_DEFINITION, * POBJECTS_DATA_DEFINITION;
  29. typedef struct _OBJECTS_COUNTER_DATA {
  30. PERF_COUNTER_BLOCK CounterBlock;
  31. DWORD Processes;
  32. DWORD Threads;
  33. DWORD Events;
  34. DWORD Semaphores;
  35. DWORD Mutexes;
  36. DWORD Sections;
  37. } OBJECTS_COUNTER_DATA, * POBJECTS_COUNTER_DATA;
  38. extern OBJECTS_DATA_DEFINITION ObjectsDataDefinition;
  39. #endif // _DATAOBJ_H_
  40.