home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / WindowsServerTrial / server.iso / sources / install.wim / 5 / Windows / System32 / pacercnt.h < prev    next >
Text File  |  2006-09-18  |  3KB  |  72 lines

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