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.

145 lines
5.1 KiB

  1. /**********************************************************************/
  2. /** Microsoft Windows NT **/
  3. /** Copyright(c) Microsoft Corp., 1993 **/
  4. /**********************************************************************/
  5. /*
  6. w3ctrs.h
  7. Offset definitions for the W3 Server's counter objects & counters.
  8. These offsets *must* start at 0 and be multiples of 2. In the
  9. W3OpenPerformanceData procecedure, they will be added to the
  10. W3 Server's "First Counter" and "First Help" values in order to
  11. determine the absolute location of the counter & object names
  12. and corresponding help text in the registry.
  13. This file is used by the W3CTRS.DLL DLL code as well as the
  14. W3CTRS.INI definition file. W3CTRS.INI is parsed by the
  15. LODCTR utility to load the object & counter names into the
  16. registry.
  17. FILE HISTORY:
  18. KeithMo 07-Jun-1993 Created.
  19. KestutiP 15-May-1999 Added Service Uptime counters
  20. */
  21. #ifndef _W3CTRS_H_
  22. #define _W3CTRS_H_
  23. //
  24. // The W3 Server counter object.
  25. //
  26. #define W3_COUNTER_OBJECT 0
  27. //
  28. // The individual counters.
  29. //
  30. #define W3_BYTES_SENT_COUNTER 2
  31. #define W3_BYTES_RECEIVED_COUNTER 4
  32. #define W3_BYTES_TOTAL_COUNTER 6
  33. #define W3_FILES_SENT_COUNTER 8
  34. #define W3_FILES_SENT_SEC 10
  35. #define W3_FILES_RECEIVED_COUNTER 12
  36. #define W3_FILES_RECEIVED_SEC 14
  37. #define W3_FILES_TOTAL_COUNTER 16
  38. #define W3_FILES_SEC 18
  39. #define W3_CURRENT_ANONYMOUS_COUNTER 20
  40. #define W3_CURRENT_NONANONYMOUS_COUNTER 22
  41. #define W3_TOTAL_ANONYMOUS_COUNTER 24
  42. #define W3_ANONYMOUS_USERS_SEC 26
  43. #define W3_TOTAL_NONANONYMOUS_COUNTER 28
  44. #define W3_NON_ANONYMOUS_USERS_SEC 30
  45. #define W3_MAX_ANONYMOUS_COUNTER 32
  46. #define W3_MAX_NONANONYMOUS_COUNTER 34
  47. #define W3_CURRENT_CONNECTIONS_COUNTER 36
  48. #define W3_MAX_CONNECTIONS_COUNTER 38
  49. #define W3_CONNECTION_ATTEMPTS_COUNTER 40
  50. #define W3_CONNECTION_ATTEMPTS_SEC 42
  51. #define W3_LOGON_ATTEMPTS_COUNTER 44
  52. #define W3_LOGON_ATTEMPTS_SEC 46
  53. #define W3_TOTAL_OPTIONS_COUNTER 48
  54. #define W3_TOTAL_OPTIONS_SEC 50
  55. #define W3_TOTAL_GETS_COUNTER 52
  56. #define W3_TOTAL_GETS_SEC 54
  57. #define W3_TOTAL_POSTS_COUNTER 56
  58. #define W3_TOTAL_POSTS_SEC 58
  59. #define W3_TOTAL_HEADS_COUNTER 60
  60. #define W3_TOTAL_HEADS_SEC 62
  61. #define W3_TOTAL_PUTS_COUNTER 64
  62. #define W3_TOTAL_PUTS_SEC 66
  63. #define W3_TOTAL_DELETES_COUNTER 68
  64. #define W3_TOTAL_DELETES_SEC 70
  65. #define W3_TOTAL_TRACES_COUNTER 72
  66. #define W3_TOTAL_TRACES_SEC 74
  67. #define W3_TOTAL_MOVE_COUNTER 76
  68. #define W3_TOTAL_MOVE_SEC 78
  69. #define W3_TOTAL_COPY_COUNTER 80
  70. #define W3_TOTAL_COPY_SEC 82
  71. #define W3_TOTAL_MKCOL_COUNTER 84
  72. #define W3_TOTAL_MKCOL_SEC 86
  73. #define W3_TOTAL_PROPFIND_COUNTER 88
  74. #define W3_TOTAL_PROPFIND_SEC 90
  75. #define W3_TOTAL_PROPPATCH_COUNTER 92
  76. #define W3_TOTAL_PROPPATCH_SEC 94
  77. #define W3_TOTAL_SEARCH_COUNTER 96
  78. #define W3_TOTAL_SEARCH_SEC 98
  79. #define W3_TOTAL_LOCK_COUNTER 100
  80. #define W3_TOTAL_LOCK_SEC 102
  81. #define W3_TOTAL_UNLOCK_COUNTER 104
  82. #define W3_TOTAL_UNLOCK_SEC 106
  83. #define W3_TOTAL_OTHERS_COUNTER 108
  84. #define W3_TOTAL_OTHERS_SEC 110
  85. #define W3_TOTAL_REQUESTS_COUNTER 112
  86. #define W3_TOTAL_REQUESTS_SEC 114
  87. #define W3_TOTAL_CGI_REQUESTS_COUNTER 116
  88. #define W3_CGI_REQUESTS_SEC 118
  89. #define W3_TOTAL_BGI_REQUESTS_COUNTER 120
  90. #define W3_BGI_REQUESTS_SEC 122
  91. #define W3_TOTAL_NOT_FOUND_ERRORS_COUNTER 124
  92. #define W3_TOTAL_NOT_FOUND_ERRORS_SEC 126
  93. #define W3_TOTAL_LOCKED_ERRORS_COUNTER 128
  94. #define W3_TOTAL_LOCKED_ERRORS_SEC 130
  95. #define W3_CURRENT_CGI_COUNTER 132
  96. #define W3_CURRENT_BGI_COUNTER 134
  97. #define W3_MAX_CGI_COUNTER 136
  98. #define W3_MAX_BGI_COUNTER 138
  99. #define W3_CURRENT_CAL_AUTH_COUNTER 140
  100. #define W3_MAX_CAL_AUTH_COUNTER 142
  101. #define W3_TOTAL_FAILED_CAL_AUTH_COUNTER 144
  102. #define W3_CURRENT_CAL_SSL_COUNTER 146
  103. #define W3_MAX_CAL_SSL_COUNTER 148
  104. #define W3_TOTAL_FAILED_CAL_SSL_COUNTER 150
  105. #define W3_BLOCKED_REQUESTS_COUNTER 152
  106. #define W3_ALLOWED_REQUESTS_COUNTER 154
  107. #define W3_REJECTED_REQUESTS_COUNTER 156
  108. #define W3_CURRENT_BLOCKED_REQUESTS_COUNTER 158
  109. #define W3_MEASURED_BANDWIDTH_COUNTER 160
  110. #define W3_SERVICE_UPTIME_COUNTER 162
  111. #endif // _W3CTRS_H_