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.

100 lines
3.2 KiB

  1. /* (C) 1997-1998 Microsoft Corp.
  2. *
  3. * tslabels.h
  4. *
  5. * PerfMon Lodctr utility offsets for TS perf objects.
  6. */
  7. // TS defined counter names and explain text defines
  8. #define WINSTATION_OBJECT 0
  9. // Input
  10. #define INWDBYTES 2
  11. #define INWDFRAMES 4
  12. #define INWAITFOROUTBUF 6
  13. #define INFRAMES 8
  14. #define INBYTES 10
  15. #define INCOMPBYTES 12
  16. #define INCOMPFLUSHES 14
  17. #define INERRORS 16
  18. #define INTIMEOUTS 18
  19. #define INASYNCFRAMEERR 20
  20. #define INASYNCOVERRUN 22
  21. #define INASYNCOVERFLOW 24
  22. #define INASYNCPARITY 26
  23. #define INTDERRORS 28
  24. // Output
  25. #define OUTWDBYTES 30
  26. #define OUTWDFRAMES 32
  27. #define OUTWAITFOROUTBUF 34
  28. #define OUTFRAMES 36
  29. #define OUTBYTES 38
  30. #define OUTCOMPBYTES 40
  31. #define OUTCOMPFLUSHES 42
  32. #define OUTERRORS 44
  33. #define OUTTIMEOUTS 46
  34. #define OUTASYNCFRAMEERR 48
  35. #define OUTASYNCOVERRUN 50
  36. #define OUTASYNCOVERFLOW 52
  37. #define OUTASYNCPARITY 54
  38. #define OUTTDERRORS 56
  39. // Totals
  40. #define TOTALWDBYTES 58
  41. #define TOTALWDFRAMES 60
  42. #define TOTALWAITFOROUTBUF 62
  43. #define TOTALFRAMES 64
  44. #define TOTALBYTES 66
  45. #define TOTALCOMPBYTES 68
  46. #define TOTALCOMPFLUSHES 70
  47. #define TOTALERRORS 72
  48. #define TOTALTIMEOUTS 74
  49. #define TOTALASYNCFRAMEERR 76
  50. #define TOTALASYNCOVERRUN 78
  51. #define TOTALASYNCOVERFLOW 80
  52. #define TOTALASYNCPARITY 82
  53. #define TOTALTDERRORS 84
  54. // Display driver cache counter entries
  55. // Totals
  56. #define DDCACHEREAD 86
  57. #define DDCACHEHIT 88
  58. #define DDCACHEPERCENT 90
  59. // Bitmap cache
  60. #define DDBITMAPCACHEREAD 92
  61. #define DDBITMAPCACHEHIT 94
  62. #define DDBITMAPCACHEPERCENT 96
  63. // Glyph cache
  64. #define DDGLYPHCACHEREAD 98
  65. #define DDGLYPHCACHEHIT 100
  66. #define DDGLYPHCACHEPERCENT 102
  67. // Brush cache
  68. #define DDBRUSHCACHEREAD 104
  69. #define DDBRUSHCACHEHIT 106
  70. #define DDBRUSHCACHEPERCENT 108
  71. // Save screen bitmap cache
  72. #define DDSAVESCRCACHEREAD 110
  73. #define DDSAVESCRCACHEHIT 112
  74. #define DDSAVESCRCACHEPERCENT 114
  75. // Compression PD ratio
  76. #define INCOMPRESS_PERCENT 116
  77. #define OUTCOMPRESS_PERCENT 118
  78. #define TOTALCOMPRESS_PERCENT 120
  79. #define LAST_WINSTATION_COUNTER_OFFSET TOTALCOMPRESS_PERCENT
  80. // TermServer object definitions.
  81. #define TERMSERVER_OBJECT 122
  82. #define NUMSESSIONS 124
  83. #define NUMACTIVESESSIONS 126
  84. #define NUMINACTIVESESSIONS 128
  85. #define LAST_TERMSERVER_COUNTER_OFFSET NUMINACTIVESESSIONS