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.

670 lines
21 KiB

  1. /*++
  2. WARNING!!!
  3. This file is automatically generated and should never be changed.
  4. All changes should be made to the NTFRSREP.int file.
  5. Copyright (c) 1998-1999 Microsoft Corporation
  6. Module Name:
  7. REPSET.c
  8. Abstract
  9. This is the file that conatins the initialization values of the PERF_COUNTER_DEFINITION
  10. array which is initialized in the Open function of the REPLICASET Object
  11. Environment:
  12. User Mode Service
  13. Revision History:
  14. --*/
  15. #include "..\PERFDLL\REPSET.h"
  16. // Initialize the RepSetInitData structure used in the Open function
  17. ReplicaSetValues RepSetInitData[FRS_NUMOFCOUNTERS] = {
  18. {
  19. (PWCHAR)"Bytes of Staging Generated ",
  20. SIZEOF(ReplicaSetCounters, SFGeneratedB ),
  21. OFFSET(ReplicaSetCounters, SFGeneratedB ),
  22. PERF_COUNTER_BULK_COUNT , 0
  23. },
  24. {
  25. (PWCHAR)"Bytes of Staging Fetched ",
  26. SIZEOF(ReplicaSetCounters, SFFetchedB ),
  27. OFFSET(ReplicaSetCounters, SFFetchedB ),
  28. PERF_COUNTER_BULK_COUNT , 0
  29. },
  30. {
  31. (PWCHAR)"Bytes of Staging Regenerated ",
  32. SIZEOF(ReplicaSetCounters, SFReGeneratedB ),
  33. OFFSET(ReplicaSetCounters, SFReGeneratedB ),
  34. PERF_COUNTER_BULK_COUNT , 0
  35. },
  36. {
  37. (PWCHAR)"Bytes of Files Installed ",
  38. SIZEOF(ReplicaSetCounters, FInstalledB ),
  39. OFFSET(ReplicaSetCounters, FInstalledB ),
  40. PERF_COUNTER_BULK_COUNT , 0
  41. },
  42. {
  43. (PWCHAR)"KB of Staging Space In Use ",
  44. SIZEOF(ReplicaSetCounters, SSInUseKB ),
  45. OFFSET(ReplicaSetCounters, SSInUseKB ),
  46. PERF_COUNTER_LARGE_RAWCOUNT , PM_RS_FLAG_SVC_WIDE
  47. },
  48. {
  49. (PWCHAR)"KB of Staging Space Free ",
  50. SIZEOF(ReplicaSetCounters, SSFreeKB ),
  51. OFFSET(ReplicaSetCounters, SSFreeKB ),
  52. PERF_COUNTER_LARGE_RAWCOUNT , PM_RS_FLAG_SVC_WIDE
  53. },
  54. {
  55. (PWCHAR)"Packets Received in Bytes ",
  56. SIZEOF(ReplicaSetCounters, PacketsRcvdBytes ),
  57. OFFSET(ReplicaSetCounters, PacketsRcvdBytes ),
  58. PERF_COUNTER_BULK_COUNT , PM_RS_FLAG_SVC_WIDE
  59. },
  60. {
  61. (PWCHAR)"Packets Sent in Bytes ",
  62. SIZEOF(ReplicaSetCounters, PacketsSentBytes ),
  63. OFFSET(ReplicaSetCounters, PacketsSentBytes ),
  64. PERF_COUNTER_BULK_COUNT , 0
  65. },
  66. {
  67. (PWCHAR)"Fetch Blocks Sent in Bytes ",
  68. SIZEOF(ReplicaSetCounters, FetBSentBytes ),
  69. OFFSET(ReplicaSetCounters, FetBSentBytes ),
  70. PERF_COUNTER_BULK_COUNT , 0
  71. },
  72. {
  73. (PWCHAR)"Fetch Blocks Received in Bytes ",
  74. SIZEOF(ReplicaSetCounters, FetBRcvdBytes ),
  75. OFFSET(ReplicaSetCounters, FetBRcvdBytes ),
  76. PERF_COUNTER_BULK_COUNT , 0
  77. },
  78. {
  79. (PWCHAR)"Staging Files Generated ",
  80. SIZEOF(ReplicaSetCounters, SFGenerated ),
  81. OFFSET(ReplicaSetCounters, SFGenerated ),
  82. PERF_COUNTER_COUNTER , 0
  83. },
  84. {
  85. (PWCHAR)"Staging Files Generated with Error ",
  86. SIZEOF(ReplicaSetCounters, SFGeneratedError ),
  87. OFFSET(ReplicaSetCounters, SFGeneratedError ),
  88. PERF_COUNTER_RAWCOUNT , 0
  89. },
  90. {
  91. (PWCHAR)"Staging Files Fetched ",
  92. SIZEOF(ReplicaSetCounters, SFFetched ),
  93. OFFSET(ReplicaSetCounters, SFFetched ),
  94. PERF_COUNTER_COUNTER , 0
  95. },
  96. {
  97. (PWCHAR)"Staging Files Regenerated ",
  98. SIZEOF(ReplicaSetCounters, SFReGenerated ),
  99. OFFSET(ReplicaSetCounters, SFReGenerated ),
  100. PERF_COUNTER_COUNTER , 0
  101. },
  102. {
  103. (PWCHAR)"Files Installed ",
  104. SIZEOF(ReplicaSetCounters, FInstalled ),
  105. OFFSET(ReplicaSetCounters, FInstalled ),
  106. PERF_COUNTER_COUNTER , 0
  107. },
  108. {
  109. (PWCHAR)"Files Installed with Error ",
  110. SIZEOF(ReplicaSetCounters, FInstalledError ),
  111. OFFSET(ReplicaSetCounters, FInstalledError ),
  112. PERF_COUNTER_RAWCOUNT , 0
  113. },
  114. {
  115. (PWCHAR)"Change Orders Issued ",
  116. SIZEOF(ReplicaSetCounters, COIssued ),
  117. OFFSET(ReplicaSetCounters, COIssued ),
  118. PERF_COUNTER_COUNTER , 0
  119. },
  120. {
  121. (PWCHAR)"Change Orders Retired ",
  122. SIZEOF(ReplicaSetCounters, CORetired ),
  123. OFFSET(ReplicaSetCounters, CORetired ),
  124. PERF_COUNTER_COUNTER , 0
  125. },
  126. {
  127. (PWCHAR)"Change Orders Aborted ",
  128. SIZEOF(ReplicaSetCounters, COAborted ),
  129. OFFSET(ReplicaSetCounters, COAborted ),
  130. PERF_COUNTER_COUNTER , 0
  131. },
  132. {
  133. (PWCHAR)"Change Orders Retried ",
  134. SIZEOF(ReplicaSetCounters, CORetried ),
  135. OFFSET(ReplicaSetCounters, CORetried ),
  136. PERF_COUNTER_COUNTER , 0
  137. },
  138. {
  139. (PWCHAR)"Change Orders Retried at Generate ",
  140. SIZEOF(ReplicaSetCounters, CORetriedGen ),
  141. OFFSET(ReplicaSetCounters, CORetriedGen ),
  142. PERF_COUNTER_COUNTER , 0
  143. },
  144. {
  145. (PWCHAR)"Change Orders Retried at Fetch ",
  146. SIZEOF(ReplicaSetCounters, CORetriedFet ),
  147. OFFSET(ReplicaSetCounters, CORetriedFet ),
  148. PERF_COUNTER_COUNTER , 0
  149. },
  150. {
  151. (PWCHAR)"Change Orders Retried at Install ",
  152. SIZEOF(ReplicaSetCounters, CORetriedIns ),
  153. OFFSET(ReplicaSetCounters, CORetriedIns ),
  154. PERF_COUNTER_COUNTER , 0
  155. },
  156. {
  157. (PWCHAR)"Change Orders Retried at Rename ",
  158. SIZEOF(ReplicaSetCounters, CORetriedRen ),
  159. OFFSET(ReplicaSetCounters, CORetriedRen ),
  160. PERF_COUNTER_COUNTER , 0
  161. },
  162. {
  163. (PWCHAR)"Change Orders Morphed ",
  164. SIZEOF(ReplicaSetCounters, COMorphed ),
  165. OFFSET(ReplicaSetCounters, COMorphed ),
  166. PERF_COUNTER_COUNTER , 0
  167. },
  168. {
  169. (PWCHAR)"Change Orders Propagated ",
  170. SIZEOF(ReplicaSetCounters, COPropagated ),
  171. OFFSET(ReplicaSetCounters, COPropagated ),
  172. PERF_COUNTER_COUNTER , 0
  173. },
  174. {
  175. (PWCHAR)"Change Orders Received ",
  176. SIZEOF(ReplicaSetCounters, COReceived ),
  177. OFFSET(ReplicaSetCounters, COReceived ),
  178. PERF_COUNTER_COUNTER , 0
  179. },
  180. {
  181. (PWCHAR)"Change Orders Sent ",
  182. SIZEOF(ReplicaSetCounters, COSent ),
  183. OFFSET(ReplicaSetCounters, COSent ),
  184. PERF_COUNTER_COUNTER , 0
  185. },
  186. {
  187. (PWCHAR)"Change Orders Evaporated ",
  188. SIZEOF(ReplicaSetCounters, COEvaporated ),
  189. OFFSET(ReplicaSetCounters, COEvaporated ),
  190. PERF_COUNTER_COUNTER , 0
  191. },
  192. {
  193. (PWCHAR)"Local Change Orders Issued ",
  194. SIZEOF(ReplicaSetCounters, LCOIssued ),
  195. OFFSET(ReplicaSetCounters, LCOIssued ),
  196. PERF_COUNTER_COUNTER , 0
  197. },
  198. {
  199. (PWCHAR)"Local Change Orders Retired ",
  200. SIZEOF(ReplicaSetCounters, LCORetired ),
  201. OFFSET(ReplicaSetCounters, LCORetired ),
  202. PERF_COUNTER_COUNTER , 0
  203. },
  204. {
  205. (PWCHAR)"Local Change Orders Aborted ",
  206. SIZEOF(ReplicaSetCounters, LCOAborted ),
  207. OFFSET(ReplicaSetCounters, LCOAborted ),
  208. PERF_COUNTER_COUNTER , 0
  209. },
  210. {
  211. (PWCHAR)"Local Change Orders Retried ",
  212. SIZEOF(ReplicaSetCounters, LCORetried ),
  213. OFFSET(ReplicaSetCounters, LCORetried ),
  214. PERF_COUNTER_COUNTER , 0
  215. },
  216. {
  217. (PWCHAR)"Local Change Orders Retried at Generate ",
  218. SIZEOF(ReplicaSetCounters, LCORetriedGen ),
  219. OFFSET(ReplicaSetCounters, LCORetriedGen ),
  220. PERF_COUNTER_COUNTER , 0
  221. },
  222. {
  223. (PWCHAR)"Local Change Orders Retried at Fetch ",
  224. SIZEOF(ReplicaSetCounters, LCORetriedFet ),
  225. OFFSET(ReplicaSetCounters, LCORetriedFet ),
  226. PERF_COUNTER_COUNTER , 0
  227. },
  228. {
  229. (PWCHAR)"Local Change Orders Retried at Install ",
  230. SIZEOF(ReplicaSetCounters, LCORetriedIns ),
  231. OFFSET(ReplicaSetCounters, LCORetriedIns ),
  232. PERF_COUNTER_COUNTER , 0
  233. },
  234. {
  235. (PWCHAR)"Local Change Orders Retried at Rename ",
  236. SIZEOF(ReplicaSetCounters, LCORetriedRen ),
  237. OFFSET(ReplicaSetCounters, LCORetriedRen ),
  238. PERF_COUNTER_COUNTER , 0
  239. },
  240. {
  241. (PWCHAR)"Local Change Orders Morphed ",
  242. SIZEOF(ReplicaSetCounters, LCOMorphed ),
  243. OFFSET(ReplicaSetCounters, LCOMorphed ),
  244. PERF_COUNTER_COUNTER , 0
  245. },
  246. {
  247. (PWCHAR)"Local Change Orders Propagated ",
  248. SIZEOF(ReplicaSetCounters, LCOPropagated ),
  249. OFFSET(ReplicaSetCounters, LCOPropagated ),
  250. PERF_COUNTER_COUNTER , 0
  251. },
  252. {
  253. (PWCHAR)"Local Change Orders Sent ",
  254. SIZEOF(ReplicaSetCounters, LCOSent ),
  255. OFFSET(ReplicaSetCounters, LCOSent ),
  256. PERF_COUNTER_COUNTER , 0
  257. },
  258. {
  259. (PWCHAR)"Local Change Orders Sent At Join ",
  260. SIZEOF(ReplicaSetCounters, LCOSentAtJoin ),
  261. OFFSET(ReplicaSetCounters, LCOSentAtJoin ),
  262. PERF_COUNTER_COUNTER , 0
  263. },
  264. {
  265. (PWCHAR)"Remote Change Orders Issued ",
  266. SIZEOF(ReplicaSetCounters, RCOIssued ),
  267. OFFSET(ReplicaSetCounters, RCOIssued ),
  268. PERF_COUNTER_COUNTER , 0
  269. },
  270. {
  271. (PWCHAR)"Remote Change Orders Retired ",
  272. SIZEOF(ReplicaSetCounters, RCORetired ),
  273. OFFSET(ReplicaSetCounters, RCORetired ),
  274. PERF_COUNTER_COUNTER , 0
  275. },
  276. {
  277. (PWCHAR)"Remote Change Orders Aborted ",
  278. SIZEOF(ReplicaSetCounters, RCOAborted ),
  279. OFFSET(ReplicaSetCounters, RCOAborted ),
  280. PERF_COUNTER_COUNTER , 0
  281. },
  282. {
  283. (PWCHAR)"Remote Change Orders Retried ",
  284. SIZEOF(ReplicaSetCounters, RCORetried ),
  285. OFFSET(ReplicaSetCounters, RCORetried ),
  286. PERF_COUNTER_COUNTER , 0
  287. },
  288. {
  289. (PWCHAR)"Remote Change Orders Retried at Generate",
  290. SIZEOF(ReplicaSetCounters, RCORetriedGen ),
  291. OFFSET(ReplicaSetCounters, RCORetriedGen ),
  292. PERF_COUNTER_COUNTER , 0
  293. },
  294. {
  295. (PWCHAR)"Remote Change Orders Retried at Fetch ",
  296. SIZEOF(ReplicaSetCounters, RCORetriedFet ),
  297. OFFSET(ReplicaSetCounters, RCORetriedFet ),
  298. PERF_COUNTER_COUNTER , 0
  299. },
  300. {
  301. (PWCHAR)"Remote Change Orders Retried at Install ",
  302. SIZEOF(ReplicaSetCounters, RCORetriedIns ),
  303. OFFSET(ReplicaSetCounters, RCORetriedIns ),
  304. PERF_COUNTER_COUNTER , 0
  305. },
  306. {
  307. (PWCHAR)"Remote Change Orders Retried at Rename ",
  308. SIZEOF(ReplicaSetCounters, RCORetriedRen ),
  309. OFFSET(ReplicaSetCounters, RCORetriedRen ),
  310. PERF_COUNTER_COUNTER , 0
  311. },
  312. {
  313. (PWCHAR)"Remote Change Orders Morphed ",
  314. SIZEOF(ReplicaSetCounters, RCOMorphed ),
  315. OFFSET(ReplicaSetCounters, RCOMorphed ),
  316. PERF_COUNTER_COUNTER , 0
  317. },
  318. {
  319. (PWCHAR)"Remote Change Orders Propagated ",
  320. SIZEOF(ReplicaSetCounters, RCOPropagated ),
  321. OFFSET(ReplicaSetCounters, RCOPropagated ),
  322. PERF_COUNTER_COUNTER , 0
  323. },
  324. {
  325. (PWCHAR)"Remote Change Orders Sent ",
  326. SIZEOF(ReplicaSetCounters, RCOSent ),
  327. OFFSET(ReplicaSetCounters, RCOSent ),
  328. PERF_COUNTER_COUNTER , 0
  329. },
  330. {
  331. (PWCHAR)"Remote Change Orders Received ",
  332. SIZEOF(ReplicaSetCounters, RCOReceived ),
  333. OFFSET(ReplicaSetCounters, RCOReceived ),
  334. PERF_COUNTER_COUNTER , 0
  335. },
  336. {
  337. (PWCHAR)"Inbound Change Orders Dampened ",
  338. SIZEOF(ReplicaSetCounters, InCODampned ),
  339. OFFSET(ReplicaSetCounters, InCODampned ),
  340. PERF_COUNTER_COUNTER , 0
  341. },
  342. {
  343. (PWCHAR)"Outbound Change Orders Dampened ",
  344. SIZEOF(ReplicaSetCounters, OutCODampned ),
  345. OFFSET(ReplicaSetCounters, OutCODampned ),
  346. PERF_COUNTER_COUNTER , 0
  347. },
  348. {
  349. (PWCHAR)"Usn Reads ",
  350. SIZEOF(ReplicaSetCounters, UsnReads ),
  351. OFFSET(ReplicaSetCounters, UsnReads ),
  352. PERF_COUNTER_COUNTER , PM_RS_FLAG_SVC_WIDE
  353. },
  354. {
  355. (PWCHAR)"Usn Records Examined ",
  356. SIZEOF(ReplicaSetCounters, UsnRecExamined ),
  357. OFFSET(ReplicaSetCounters, UsnRecExamined ),
  358. PERF_COUNTER_COUNTER , PM_RS_FLAG_SVC_WIDE
  359. },
  360. {
  361. (PWCHAR)"Usn Records Accepted ",
  362. SIZEOF(ReplicaSetCounters, UsnRecAccepted ),
  363. OFFSET(ReplicaSetCounters, UsnRecAccepted ),
  364. PERF_COUNTER_COUNTER , PM_RS_FLAG_SVC_WIDE
  365. },
  366. {
  367. (PWCHAR)"Usn Records Rejected ",
  368. SIZEOF(ReplicaSetCounters, UsnRecRejected ),
  369. OFFSET(ReplicaSetCounters, UsnRecRejected ),
  370. PERF_COUNTER_COUNTER , PM_RS_FLAG_SVC_WIDE
  371. },
  372. {
  373. (PWCHAR)"Packets Received ",
  374. SIZEOF(ReplicaSetCounters, PacketsRcvd ),
  375. OFFSET(ReplicaSetCounters, PacketsRcvd ),
  376. PERF_COUNTER_COUNTER , PM_RS_FLAG_SVC_WIDE
  377. },
  378. {
  379. (PWCHAR)"Packets Received in Error ",
  380. SIZEOF(ReplicaSetCounters, PacketsRcvdError ),
  381. OFFSET(ReplicaSetCounters, PacketsRcvdError ),
  382. PERF_COUNTER_RAWCOUNT , PM_RS_FLAG_SVC_WIDE
  383. },
  384. {
  385. (PWCHAR)"Packets Sent ",
  386. SIZEOF(ReplicaSetCounters, PacketsSent ),
  387. OFFSET(ReplicaSetCounters, PacketsSent ),
  388. PERF_COUNTER_COUNTER , 0
  389. },
  390. {
  391. (PWCHAR)"Packets Sent in Error ",
  392. SIZEOF(ReplicaSetCounters, PacketsSentError ),
  393. OFFSET(ReplicaSetCounters, PacketsSentError ),
  394. PERF_COUNTER_RAWCOUNT , 0
  395. },
  396. {
  397. (PWCHAR)"Communication Timeouts ",
  398. SIZEOF(ReplicaSetCounters, CommTimeouts ),
  399. OFFSET(ReplicaSetCounters, CommTimeouts ),
  400. PERF_COUNTER_RAWCOUNT , 0
  401. },
  402. {
  403. (PWCHAR)"Fetch Requests Sent ",
  404. SIZEOF(ReplicaSetCounters, FetRSent ),
  405. OFFSET(ReplicaSetCounters, FetRSent ),
  406. PERF_COUNTER_COUNTER , 0
  407. },
  408. {
  409. (PWCHAR)"Fetch Requests Received ",
  410. SIZEOF(ReplicaSetCounters, FetRReceived ),
  411. OFFSET(ReplicaSetCounters, FetRReceived ),
  412. PERF_COUNTER_COUNTER , 0
  413. },
  414. {
  415. (PWCHAR)"Fetch Blocks Sent ",
  416. SIZEOF(ReplicaSetCounters, FetBSent ),
  417. OFFSET(ReplicaSetCounters, FetBSent ),
  418. PERF_COUNTER_COUNTER , 0
  419. },
  420. {
  421. (PWCHAR)"Fetch Blocks Received ",
  422. SIZEOF(ReplicaSetCounters, FetBRcvd ),
  423. OFFSET(ReplicaSetCounters, FetBRcvd ),
  424. PERF_COUNTER_COUNTER , 0
  425. },
  426. {
  427. (PWCHAR)"Join Notifications Sent ",
  428. SIZEOF(ReplicaSetCounters, JoinNSent ),
  429. OFFSET(ReplicaSetCounters, JoinNSent ),
  430. PERF_COUNTER_COUNTER , 0
  431. },
  432. {
  433. (PWCHAR)"Join Notifications Received ",
  434. SIZEOF(ReplicaSetCounters, JoinNRcvd ),
  435. OFFSET(ReplicaSetCounters, JoinNRcvd ),
  436. PERF_COUNTER_COUNTER , 0
  437. },
  438. {
  439. (PWCHAR)"Joins ",
  440. SIZEOF(ReplicaSetCounters, Joins ),
  441. OFFSET(ReplicaSetCounters, Joins ),
  442. PERF_COUNTER_COUNTER , 0
  443. },
  444. {
  445. (PWCHAR)"Unjoins ",
  446. SIZEOF(ReplicaSetCounters, Unjoins ),
  447. OFFSET(ReplicaSetCounters, Unjoins ),
  448. PERF_COUNTER_COUNTER , 0
  449. },
  450. {
  451. (PWCHAR)"Bindings ",
  452. SIZEOF(ReplicaSetCounters, Bindings ),
  453. OFFSET(ReplicaSetCounters, Bindings ),
  454. PERF_COUNTER_COUNTER , 0
  455. },
  456. {
  457. (PWCHAR)"Bindings in Error ",
  458. SIZEOF(ReplicaSetCounters, BindingsError ),
  459. OFFSET(ReplicaSetCounters, BindingsError ),
  460. PERF_COUNTER_RAWCOUNT , 0
  461. },
  462. {
  463. (PWCHAR)"Authentications ",
  464. SIZEOF(ReplicaSetCounters, Authentications ),
  465. OFFSET(ReplicaSetCounters, Authentications ),
  466. PERF_COUNTER_COUNTER , 0
  467. },
  468. {
  469. (PWCHAR)"Authentications in Error ",
  470. SIZEOF(ReplicaSetCounters, AuthenticationsError ),
  471. OFFSET(ReplicaSetCounters, AuthenticationsError ),
  472. PERF_COUNTER_RAWCOUNT , 0
  473. },
  474. {
  475. (PWCHAR)"DS Polls ",
  476. SIZEOF(ReplicaSetCounters, DSPolls ),
  477. OFFSET(ReplicaSetCounters, DSPolls ),
  478. PERF_COUNTER_COUNTER , PM_RS_FLAG_SVC_WIDE
  479. },
  480. {
  481. (PWCHAR)"DS Polls without Changes ",
  482. SIZEOF(ReplicaSetCounters, DSPollsWOChanges ),
  483. OFFSET(ReplicaSetCounters, DSPollsWOChanges ),
  484. PERF_COUNTER_COUNTER , PM_RS_FLAG_SVC_WIDE
  485. },
  486. {
  487. (PWCHAR)"DS Polls with Changes ",
  488. SIZEOF(ReplicaSetCounters, DSPollsWChanges ),
  489. OFFSET(ReplicaSetCounters, DSPollsWChanges ),
  490. PERF_COUNTER_COUNTER , PM_RS_FLAG_SVC_WIDE
  491. },
  492. {
  493. (PWCHAR)"DS Searches ",
  494. SIZEOF(ReplicaSetCounters, DSSearches ),
  495. OFFSET(ReplicaSetCounters, DSSearches ),
  496. PERF_COUNTER_COUNTER , PM_RS_FLAG_SVC_WIDE
  497. },
  498. {
  499. (PWCHAR)"DS Searches in Error ",
  500. SIZEOF(ReplicaSetCounters, DSSearchesError ),
  501. OFFSET(ReplicaSetCounters, DSSearchesError ),
  502. PERF_COUNTER_RAWCOUNT , PM_RS_FLAG_SVC_WIDE
  503. },
  504. {
  505. (PWCHAR)"DS Objects ",
  506. SIZEOF(ReplicaSetCounters, DSObjects ),
  507. OFFSET(ReplicaSetCounters, DSObjects ),
  508. PERF_COUNTER_COUNTER , PM_RS_FLAG_SVC_WIDE
  509. },
  510. {
  511. (PWCHAR)"DS Objects in Error ",
  512. SIZEOF(ReplicaSetCounters, DSObjectsError ),
  513. OFFSET(ReplicaSetCounters, DSObjectsError ),
  514. PERF_COUNTER_RAWCOUNT , PM_RS_FLAG_SVC_WIDE
  515. },
  516. {
  517. (PWCHAR)"DS Bindings ",
  518. SIZEOF(ReplicaSetCounters, DSBindings ),
  519. OFFSET(ReplicaSetCounters, DSBindings ),
  520. PERF_COUNTER_COUNTER , PM_RS_FLAG_SVC_WIDE
  521. },
  522. {
  523. (PWCHAR)"DS Bindings in Error ",
  524. SIZEOF(ReplicaSetCounters, DSBindingsError ),
  525. OFFSET(ReplicaSetCounters, DSBindingsError ),
  526. PERF_COUNTER_RAWCOUNT , PM_RS_FLAG_SVC_WIDE
  527. },
  528. {
  529. (PWCHAR)"Replica Sets Created ",
  530. SIZEOF(ReplicaSetCounters, RSCreated ),
  531. OFFSET(ReplicaSetCounters, RSCreated ),
  532. PERF_COUNTER_RAWCOUNT , PM_RS_FLAG_SVC_WIDE
  533. },
  534. {
  535. (PWCHAR)"Replica Sets Deleted ",
  536. SIZEOF(ReplicaSetCounters, RSDeleted ),
  537. OFFSET(ReplicaSetCounters, RSDeleted ),
  538. PERF_COUNTER_RAWCOUNT , PM_RS_FLAG_SVC_WIDE
  539. },
  540. {
  541. (PWCHAR)"Replica Sets Removed ",
  542. SIZEOF(ReplicaSetCounters, RSRemoved ),
  543. OFFSET(ReplicaSetCounters, RSRemoved ),
  544. PERF_COUNTER_RAWCOUNT , PM_RS_FLAG_SVC_WIDE
  545. },
  546. {
  547. (PWCHAR)"Replica Sets Started ",
  548. SIZEOF(ReplicaSetCounters, RSStarted ),
  549. OFFSET(ReplicaSetCounters, RSStarted ),
  550. PERF_COUNTER_COUNTER , PM_RS_FLAG_SVC_WIDE
  551. },
  552. {
  553. (PWCHAR)"Threads started ",
  554. SIZEOF(ReplicaSetCounters, ThreadsStarted ),
  555. OFFSET(ReplicaSetCounters, ThreadsStarted ),
  556. PERF_COUNTER_COUNTER , PM_RS_FLAG_SVC_WIDE
  557. },
  558. {
  559. (PWCHAR)"Threads exited ",
  560. SIZEOF(ReplicaSetCounters, ThreadsExited ),
  561. OFFSET(ReplicaSetCounters, ThreadsExited ),
  562. PERF_COUNTER_COUNTER , PM_RS_FLAG_SVC_WIDE
  563. }
  564. };