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.

203 lines
11 KiB

  1. /*++
  2. Copyright (C) 1996-2001 Microsoft Corporation
  3. Module Name:
  4. ProvFact.h
  5. Abstract:
  6. History:
  7. --*/
  8. #ifndef _Server_ProviderCounters_H
  9. #define _Server_ProviderCounters_H
  10. /******************************************************************************
  11. *
  12. * Name:
  13. *
  14. *
  15. * Description:
  16. *
  17. *
  18. *****************************************************************************/
  19. class CServerObject_ProviderSubsystem_Counters
  20. {
  21. public:
  22. UINT64 m_ProviderHost_WmiCore_Loads ;
  23. UINT64 m_ProviderHost_WmiCore_UnLoads ;
  24. UINT64 m_ProviderHost_WmiCoreOrSelfHost_Loads ;
  25. UINT64 m_ProviderHost_WmiCoreOrSelfHost_UnLoads ;
  26. UINT64 m_ProviderHost_SelfHost_Loads ;
  27. UINT64 m_ProviderHost_SelfHost_UnLoads ;
  28. UINT64 m_ProviderHost_ClientHost_Loads ;
  29. UINT64 m_ProviderHost_ClientHost_UnLoads ;
  30. UINT64 m_ProviderHost_Decoupled_Loads ;
  31. UINT64 m_ProviderHost_Decoupled_UnLoads ;
  32. UINT64 m_ProviderHost_SharedLocalSystemHost_Loads ;
  33. UINT64 m_ProviderHost_SharedLocalSystemHost_UnLoads ;
  34. UINT64 m_ProviderHost_SharedNetworkHost_Loads ;
  35. UINT64 m_ProviderHost_SharedNetworkHost_UnLoads ;
  36. UINT64 m_ProviderHost_SharedUserHost_Loads ;
  37. UINT64 m_ProviderHost_SharedUserHost_UnLoads ;
  38. UINT64 m_ProviderOperation_GetObjectAsync ;
  39. UINT64 m_ProviderOperation_PutClassAsync ;
  40. UINT64 m_ProviderOperation_DeleteClassAsync ;
  41. UINT64 m_ProviderOperation_CreateClassEnumAsync ;
  42. UINT64 m_ProviderOperation_PutInstanceAsync ;
  43. UINT64 m_ProviderOperation_DeleteInstanceAsync ;
  44. UINT64 m_ProviderOperation_CreateInstanceEnumAsync ;
  45. UINT64 m_ProviderOperation_ExecQueryAsync ;
  46. UINT64 m_ProviderOperation_ExecNotificationQueryAsync ;
  47. UINT64 m_ProviderOperation_ExecMethodAsync ;
  48. UINT64 m_ProviderOperation_QueryInstances ;
  49. UINT64 m_ProviderOperation_CreateRefresher ;
  50. UINT64 m_ProviderOperation_CreateRefreshableObject ;
  51. UINT64 m_ProviderOperation_StopRefreshing ;
  52. UINT64 m_ProviderOperation_CreateRefreshableEnum ;
  53. UINT64 m_ProviderOperation_GetObjects ;
  54. UINT64 m_ProviderOperation_GetProperty ;
  55. UINT64 m_ProviderOperation_PutProperty ;
  56. UINT64 m_ProviderOperation_ProvideEvents ;
  57. UINT64 m_ProviderOperation_NewQuery ;
  58. UINT64 m_ProviderOperation_CancelQuery ;
  59. UINT64 m_ProviderOperation_AccessCheck ;
  60. UINT64 m_ProviderOperation_SetRegistrationObject ;
  61. UINT64 m_ProviderOperation_FindConsumer ;
  62. UINT64 m_ProviderOperation_ValidateSubscription ;
  63. protected:
  64. public: /* Internal */
  65. CServerObject_ProviderSubsystem_Counters () ;
  66. ~CServerObject_ProviderSubsystem_Counters () ;
  67. public: /* External */
  68. void Increment_ProviderHost_WmiCore_Loads () { m_ProviderHost_WmiCore_Loads ++ ; }
  69. void Increment_ProviderHost_WmiCore_UnLoads () { m_ProviderHost_WmiCore_UnLoads ++ ; }
  70. void Increment_ProviderHost_WmiCoreOrSelfHost_Loads () { m_ProviderHost_WmiCoreOrSelfHost_Loads ++ ; }
  71. void Increment_ProviderHost_WmiCoreOrSelfHost_UnLoads () { m_ProviderHost_WmiCoreOrSelfHost_UnLoads ++ ; }
  72. void Increment_ProviderHost_SelfHost_Loads () { m_ProviderHost_SelfHost_Loads ++ ; }
  73. void Increment_ProviderHost_SelfHost_UnLoads () { m_ProviderHost_SelfHost_UnLoads ++ ; }
  74. void Increment_ProviderHost_ClientHost_Loads () { m_ProviderHost_ClientHost_Loads ++ ; }
  75. void Increment_ProviderHost_ClientHost_UnLoads () { m_ProviderHost_ClientHost_UnLoads ++ ; }
  76. void Increment_ProviderHost_Decoupled_Loads () { m_ProviderHost_Decoupled_Loads ++ ; }
  77. void Increment_ProviderHost_Decoupled_UnLoads () { m_ProviderHost_Decoupled_UnLoads ++ ; }
  78. void Increment_ProviderHost_SharedLocalSystemHost_Loads () { m_ProviderHost_SharedLocalSystemHost_Loads ++ ; }
  79. void Increment_ProviderHost_SharedLocalSystemHost_UnLoads () { m_ProviderHost_SharedLocalSystemHost_UnLoads ++ ; }
  80. void Increment_ProviderHost_SharedNetworkHost_Loads () { m_ProviderHost_SharedNetworkHost_Loads ++ ; }
  81. void Increment_ProviderHost_SharedNetworkHost_UnLoads () { m_ProviderHost_SharedNetworkHost_UnLoads ++ ; }
  82. void Increment_ProviderHost_SharedUserHost_Loads () { m_ProviderHost_SharedUserHost_Loads ++ ; }
  83. void Increment_ProviderHost_SharedUserHost_UnLoads () { m_ProviderHost_SharedUserHost_UnLoads ++ ; }
  84. void Increment_ProviderOperation_GetObjectAsync () { m_ProviderOperation_GetObjectAsync ++ ; }
  85. void Increment_ProviderOperation_PutClassAsync () { m_ProviderOperation_PutClassAsync ++ ; }
  86. void Increment_ProviderOperation_DeleteClassAsync () { m_ProviderOperation_DeleteClassAsync ++ ; }
  87. void Increment_ProviderOperation_CreateClassEnumAsync () { m_ProviderOperation_CreateClassEnumAsync ++ ; }
  88. void Increment_ProviderOperation_PutInstanceAsync () { m_ProviderOperation_PutInstanceAsync ++ ; }
  89. void Increment_ProviderOperation_DeleteInstanceAsync () { m_ProviderOperation_DeleteInstanceAsync ++ ; }
  90. void Increment_ProviderOperation_CreateInstanceEnumAsync () { m_ProviderOperation_CreateInstanceEnumAsync ++ ; }
  91. void Increment_ProviderOperation_ExecQueryAsync () { m_ProviderOperation_ExecQueryAsync ++ ; }
  92. void Increment_ProviderOperation_ExecNotificationQueryAsync () { m_ProviderOperation_ExecNotificationQueryAsync ++ ; }
  93. void Increment_ProviderOperation_ExecMethodAsync () { m_ProviderOperation_ExecMethodAsync ++ ; }
  94. void Increment_ProviderOperation_QueryInstances () { m_ProviderOperation_QueryInstances ++ ; }
  95. void Increment_ProviderOperation_CreateRefresher () { m_ProviderOperation_CreateRefresher ++ ; }
  96. void Increment_ProviderOperation_CreateRefreshableObject () { m_ProviderOperation_CreateRefreshableObject ++ ; }
  97. void Increment_ProviderOperation_StopRefreshing () { m_ProviderOperation_StopRefreshing ++ ; }
  98. void Increment_ProviderOperation_CreateRefreshableEnum () { m_ProviderOperation_CreateRefreshableEnum ++ ; }
  99. void Increment_ProviderOperation_GetObjects () { m_ProviderOperation_GetObjects ++ ; }
  100. void Increment_ProviderOperation_GetProperty () { m_ProviderOperation_GetProperty ++ ; }
  101. void Increment_ProviderOperation_PutProperty () { m_ProviderOperation_PutProperty ++ ; }
  102. void Increment_ProviderOperation_ProvideEvents () { m_ProviderOperation_ProvideEvents ++ ; }
  103. void Increment_ProviderOperation_NewQuery () { m_ProviderOperation_NewQuery ++ ; }
  104. void Increment_ProviderOperation_CancelQuery () { m_ProviderOperation_CancelQuery ++ ; }
  105. void Increment_ProviderOperation_AccessCheck () { m_ProviderOperation_AccessCheck ++ ; }
  106. void Increment_ProviderOperation_SetRegistrationObject () { m_ProviderOperation_SetRegistrationObject ++ ; }
  107. void Increment_ProviderOperation_FindConsumer () { m_ProviderOperation_FindConsumer ++ ; }
  108. void Increment_ProviderOperation_ValidateSubscription () { m_ProviderOperation_ValidateSubscription ++ ; }
  109. UINT64 Get_ProviderHost_WmiCore_Loads () { return m_ProviderHost_WmiCore_Loads ; }
  110. UINT64 Get_ProviderHost_WmiCore_UnLoads () { return m_ProviderHost_WmiCore_UnLoads ; }
  111. UINT64 Get_ProviderHost_WmiCoreOrSelfHost_Loads () { return m_ProviderHost_WmiCoreOrSelfHost_Loads ; }
  112. UINT64 Get_ProviderHost_WmiCoreOrSelfHost_UnLoads () { return m_ProviderHost_WmiCoreOrSelfHost_UnLoads ; }
  113. UINT64 Get_ProviderHost_SelfHost_Loads () { return m_ProviderHost_SelfHost_Loads ; }
  114. UINT64 Get_ProviderHost_SelfHost_UnLoads () { return m_ProviderHost_SelfHost_UnLoads ; }
  115. UINT64 Get_ProviderHost_ClientHost_Loads () { return m_ProviderHost_ClientHost_Loads ; }
  116. UINT64 Get_ProviderHost_ClientHost_UnLoads () { return m_ProviderHost_ClientHost_UnLoads ; }
  117. UINT64 Get_ProviderHost_Decoupled_Loads () { return m_ProviderHost_Decoupled_Loads ; }
  118. UINT64 Get_ProviderHost_Decoupled_UnLoads () { return m_ProviderHost_Decoupled_UnLoads ; }
  119. UINT64 Get_ProviderHost_SharedLocalSystemHost_Loads () { return m_ProviderHost_SharedLocalSystemHost_Loads ; }
  120. UINT64 Get_ProviderHost_SharedLocalSystemHost_UnLoads () { return m_ProviderHost_SharedLocalSystemHost_UnLoads ; }
  121. UINT64 Get_ProviderHost_SharedNetworkHost_Loads () { return m_ProviderHost_SharedNetworkHost_Loads ; }
  122. UINT64 Get_ProviderHost_SharedNetworkHost_UnLoads () { return m_ProviderHost_SharedNetworkHost_UnLoads ; }
  123. UINT64 Get_ProviderHost_SharedUserHost_Loads () { return m_ProviderHost_SharedUserHost_Loads ; }
  124. UINT64 Get_ProviderHost_SharedUserHost_UnLoads () { return m_ProviderHost_SharedUserHost_UnLoads ; }
  125. UINT64 Get_ProviderOperation_GetObjectAsync () { return m_ProviderOperation_GetObjectAsync ; }
  126. UINT64 Get_ProviderOperation_PutClassAsync () { return m_ProviderOperation_PutClassAsync ; }
  127. UINT64 Get_ProviderOperation_DeleteClassAsync () { return m_ProviderOperation_DeleteClassAsync ; }
  128. UINT64 Get_ProviderOperation_CreateClassEnumAsync () { return m_ProviderOperation_CreateClassEnumAsync ; }
  129. UINT64 Get_ProviderOperation_PutInstanceAsync () { return m_ProviderOperation_PutInstanceAsync ; }
  130. UINT64 Get_ProviderOperation_DeleteInstanceAsync () { return m_ProviderOperation_DeleteInstanceAsync ; }
  131. UINT64 Get_ProviderOperation_CreateInstanceEnumAsync () { return m_ProviderOperation_CreateInstanceEnumAsync ; }
  132. UINT64 Get_ProviderOperation_ExecQueryAsync () { return m_ProviderOperation_ExecQueryAsync ; }
  133. UINT64 Get_ProviderOperation_ExecNotificationQueryAsync () { return m_ProviderOperation_ExecNotificationQueryAsync ; }
  134. UINT64 Get_ProviderOperation_ExecMethodAsync () { return m_ProviderOperation_ExecMethodAsync ; }
  135. UINT64 Get_ProviderOperation_QueryInstances () { return m_ProviderOperation_QueryInstances ; }
  136. UINT64 Get_ProviderOperation_CreateRefresher () { return m_ProviderOperation_CreateRefresher ; }
  137. UINT64 Get_ProviderOperation_CreateRefreshableObject () { return m_ProviderOperation_CreateRefreshableObject ; }
  138. UINT64 Get_ProviderOperation_StopRefreshing () { return m_ProviderOperation_StopRefreshing ; }
  139. UINT64 Get_ProviderOperation_CreateRefreshableEnum () { return m_ProviderOperation_CreateRefreshableEnum ; }
  140. UINT64 Get_ProviderOperation_GetObjects () { return m_ProviderOperation_GetObjects ; }
  141. UINT64 Get_ProviderOperation_GetProperty () { return m_ProviderOperation_GetProperty ; }
  142. UINT64 Get_ProviderOperation_PutProperty () { return m_ProviderOperation_PutProperty ; }
  143. UINT64 Get_ProviderOperation_ProvideEvents () { return m_ProviderOperation_ProvideEvents ; }
  144. UINT64 Get_ProviderOperation_NewQuery () { return m_ProviderOperation_NewQuery ; }
  145. UINT64 Get_ProviderOperation_CancelQuery () { return m_ProviderOperation_CancelQuery ; }
  146. UINT64 Get_ProviderOperation_AccessCheck () { return m_ProviderOperation_AccessCheck ; }
  147. UINT64 Get_ProviderOperation_SetRegistrationObject () { return m_ProviderOperation_SetRegistrationObject ; }
  148. UINT64 Get_ProviderOperation_FindConsumer () { return m_ProviderOperation_FindConsumer ; }
  149. UINT64 Get_ProviderOperation_ValidateSubscription () { return m_ProviderOperation_ValidateSubscription ; }
  150. };
  151. #endif // _Server_ProviderCounters_H