Leaked source code of windows server 2003
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.

82 lines
3.2 KiB

  1. /**********************************************************************/
  2. /** Microsoft Windows NT **/
  3. /** Copyright(c) Microsoft Corp., 1993 **/
  4. /**********************************************************************/
  5. /*
  6. infoctrs.h
  7. Offset definitions for the INFO Server's counter objects & counters.
  8. These offsets *must* start at 0 and be multiples of 2. In the
  9. INFOOpenPerformanceData procecedure, they will be added to the
  10. INFO 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 INFOCTRS.DLL DLL code as well as the
  14. INFOCTRS.INI definition file. INFOCTRS.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. MuraliK 02-Jun-1995 Added Counters for Atq I/O requests
  20. SophiaC 16-Oct-1995 Info/Access Product Split
  21. */
  22. #ifndef _INFOCTRS_H_
  23. #define _INFOCTRS_H_
  24. //
  25. // The INFO Server counter object.
  26. //
  27. #define INFO_COUNTER_OBJECT 0
  28. //
  29. // The individual counters.
  30. //
  31. #define INFO_ATQ_TOTAL_ALLOWED_REQUESTS_COUNTER 2
  32. #define INFO_ATQ_TOTAL_BLOCKED_REQUESTS_COUNTER 4
  33. #define INFO_ATQ_TOTAL_REJECTED_REQUESTS_COUNTER 6
  34. #define INFO_ATQ_CURRENT_BLOCKED_REQUESTS_COUNTER 8
  35. #define INFO_ATQ_MEASURED_BANDWIDTH_COUNTER 10
  36. #define INFO_CACHE_FILES_CACHED_COUNTER 12
  37. #define INFO_CACHE_TOTAL_FILES_CACHED_COUNTER 14
  38. #define INFO_CACHE_FILES_HIT_COUNTER 16
  39. #define INFO_CACHE_FILES_MISS_COUNTER 18
  40. #define INFO_CACHE_FILE_RATIO_COUNTER 20
  41. #define INFO_CACHE_FILE_RATIO_COUNTER_DENOM 22
  42. #define INFO_CACHE_FILE_FLUSHES_COUNTER 24
  43. #define INFO_CACHE_CURRENT_FILE_CACHE_SIZE_COUNTER 26
  44. #define INFO_CACHE_MAXIMUM_FILE_CACHE_SIZE_COUNTER 28
  45. #define INFO_CACHE_ACTIVE_FLUSHED_FILES_COUNTER 30
  46. #define INFO_CACHE_TOTAL_FLUSHED_FILES_COUNTER 32
  47. #define INFO_CACHE_URI_CACHED_COUNTER 34
  48. #define INFO_CACHE_TOTAL_URI_CACHED_COUNTER 36
  49. #define INFO_CACHE_URI_HIT_COUNTER 38
  50. #define INFO_CACHE_URI_MISS_COUNTER 40
  51. #define INFO_CACHE_URI_RATIO_COUNTER 42
  52. #define INFO_CACHE_URI_RATIO_COUNTER_DENOM 44
  53. #define INFO_CACHE_URI_FLUSHES_COUNTER 46
  54. #define INFO_CACHE_TOTAL_FLUSHED_URI_COUNTER 48
  55. #define INFO_CACHE_BLOB_CACHED_COUNTER 50
  56. #define INFO_CACHE_TOTAL_BLOB_CACHED_COUNTER 52
  57. #define INFO_CACHE_BLOB_HIT_COUNTER 54
  58. #define INFO_CACHE_BLOB_MISS_COUNTER 56
  59. #define INFO_CACHE_BLOB_RATIO_COUNTER 58
  60. #define INFO_CACHE_BLOB_RATIO_COUNTER_DENOM 60
  61. #define INFO_CACHE_BLOB_FLUSHES_COUNTER 62
  62. #define INFO_CACHE_TOTAL_FLUSHED_BLOB_COUNTER 64
  63. #endif // _INFOCTRS_H_