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.

71 lines
2.9 KiB

  1. /*++
  2. Copyright (c) 1998-1999 Microsoft Corporation
  3. Module Name:
  4. PschdCnt.h
  5. Abstract:
  6. Offset definition file for extensible counter objects and counters
  7. These "relative" offsets must start at 0 and be multiples of 2 (i.e.
  8. even numbers). In the Open Procedure, they will be added to the
  9. "First Counter" and "First Help" values for the device they belong to,
  10. in order to determine the absolute location of the counter and
  11. object names and corresponding Explain text in the registry.
  12. This file is used by the extensible counter DLL code as well as the
  13. counter name and Explain text definition file (.INI) file that is used
  14. by LODCTR to load the names into the registry.
  15. Revision History:
  16. --*/
  17. // PerfMon objects
  18. #define PSCHED_FLOW_OBJ 0
  19. #define PSCHED_PIPE_OBJ 2
  20. // Flow counters
  21. #define FLOW_PACKETS_DROPPED 4
  22. #define FLOW_PACKETS_SCHEDULED 6
  23. #define FLOW_PACKETS_TRANSMITTED 8
  24. #define FLOW_AVE_PACKETS_IN_SHAPER 10
  25. #define FLOW_MAX_PACKETS_IN_SHAPER 12
  26. #define FLOW_AVE_PACKETS_IN_SEQ 14
  27. #define FLOW_MAX_PACKETS_IN_SEQ 16
  28. #define FLOW_BYTES_SCHEDULED 18
  29. #define FLOW_BYTES_TRANSMITTED 20
  30. #define FLOW_BYTES_TRANSMITTED_PERSEC 22
  31. #define FLOW_BYTES_SCHEDULED_PERSEC 24
  32. #define FLOW_PACKETS_TRANSMITTED_PERSEC 26
  33. #define FLOW_PACKETS_SCHEDULED_PERSEC 28
  34. #define FLOW_PACKETS_DROPPED_PERSEC 30
  35. #define FLOW_NONCONF_PACKETS_SCHEDULED 32
  36. #define FLOW_NONCONF_PACKETS_SCHEDULED_PERSEC 34
  37. #define FLOW_NONCONF_PACKETS_TRANSMITTED 36
  38. #define FLOW_NONCONF_PACKETS_TRANSMITTED_PERSEC 38
  39. #define FLOW_MAX_PACKETS_IN_NETCARD 40
  40. #define FLOW_AVE_PACKETS_IN_NETCARD 42
  41. // Pipe counters
  42. #define PIPE_OUT_OF_PACKETS 44
  43. #define PIPE_FLOWS_OPENED 46
  44. #define PIPE_FLOWS_CLOSED 48
  45. #define PIPE_FLOWS_REJECTED 50
  46. #define PIPE_FLOWS_MODIFIED 52
  47. #define PIPE_FLOW_MODS_REJECTED 54
  48. #define PIPE_MAX_SIMULTANEOUS_FLOWS 56
  49. #define PIPE_NONCONF_PACKETS_SCHEDULED 58
  50. #define PIPE_NONCONF_PACKETS_SCHEDULED_PERSEC 60
  51. #define PIPE_NONCONF_PACKETS_TRANSMITTED 62
  52. #define PIPE_NONCONF_PACKETS_TRANSMITTED_PERSEC 64
  53. #define PIPE_AVE_PACKETS_IN_SHAPER 66
  54. #define PIPE_MAX_PACKETS_IN_SHAPER 68
  55. #define PIPE_AVE_PACKETS_IN_SEQ 70
  56. #define PIPE_MAX_PACKETS_IN_SEQ 72
  57. #define PIPE_MAX_PACKETS_IN_NETCARD 74
  58. #define PIPE_AVE_PACKETS_IN_NETCARD 76