Source code of Windows XP (NT5)
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.

1105 lines
26 KiB

  1. /**********************************************************************/
  2. /** Microsoft Windows NT **/
  3. /** Copyright(c) Microsoft Corp., 1993-1996 **/
  4. /**********************************************************************/
  5. /*
  6. w3ata.c
  7. Constant data structures for the W3 Server's counter objects &
  8. counters.
  9. FILE HISTORY:
  10. KeithMo 07-Jun-1993 Created.
  11. Bob Watson/MuraliK 03-Oct-1996 - Added rate counters for W3.
  12. */
  13. #include <windows.h>
  14. #include <winperf.h>
  15. #include <w3ctrs.h>
  16. #include <w3data.h>
  17. static W3_COUNTER_BLOCK w3c;
  18. //
  19. // Initialize the constant portitions of these data structure.
  20. // Certain parts (especially the name/help indices) will be
  21. // updated at initialization time.
  22. //
  23. W3_DATA_DEFINITION W3DataDefinition =
  24. {
  25. { // W3ObjectType
  26. sizeof(W3_DATA_DEFINITION) + sizeof (W3_COUNTER_BLOCK),
  27. sizeof(W3_DATA_DEFINITION),
  28. sizeof(PERF_OBJECT_TYPE),
  29. W3_COUNTER_OBJECT,
  30. 0,
  31. W3_COUNTER_OBJECT,
  32. 0,
  33. PERF_DETAIL_ADVANCED,
  34. NUMBER_OF_W3_COUNTERS,
  35. 2, // Default = Bytes Total/sec
  36. PERF_NO_INSTANCES,
  37. 0,
  38. { 0, 0 },
  39. { 0, 0 }
  40. },
  41. { // W3BytesSent/Sec
  42. sizeof(PERF_COUNTER_DEFINITION),
  43. W3_BYTES_SENT_COUNTER,
  44. 0,
  45. W3_BYTES_SENT_COUNTER,
  46. 0,
  47. -4,
  48. PERF_DETAIL_ADVANCED,
  49. PERF_COUNTER_BULK_COUNT,
  50. sizeof(w3c.BytesSent),
  51. 0 // assigned in open procedure
  52. },
  53. { // W3BytesReceived/Sec
  54. sizeof(PERF_COUNTER_DEFINITION),
  55. W3_BYTES_RECEIVED_COUNTER,
  56. 0,
  57. W3_BYTES_RECEIVED_COUNTER,
  58. 0,
  59. -4,
  60. PERF_DETAIL_ADVANCED,
  61. PERF_COUNTER_BULK_COUNT,
  62. sizeof(w3c.BytesReceived),
  63. 0 // assigned in open procedure
  64. },
  65. { // W3BytesTotal/Sec
  66. sizeof(PERF_COUNTER_DEFINITION),
  67. W3_BYTES_TOTAL_COUNTER,
  68. 0,
  69. W3_BYTES_TOTAL_COUNTER,
  70. 0,
  71. -4,
  72. PERF_DETAIL_ADVANCED,
  73. PERF_COUNTER_BULK_COUNT,
  74. sizeof(w3c.BytesTotal),
  75. 0 // assigned in open procedure
  76. },
  77. { // W3FilesSent
  78. sizeof(PERF_COUNTER_DEFINITION),
  79. W3_FILES_SENT_COUNTER,
  80. 0,
  81. W3_FILES_SENT_COUNTER,
  82. 0,
  83. 0,
  84. PERF_DETAIL_ADVANCED,
  85. PERF_COUNTER_RAWCOUNT,
  86. sizeof(w3c.FilesSent),
  87. 0 // assigned in open procedure
  88. },
  89. { // W3FilesSentSec
  90. sizeof(PERF_COUNTER_DEFINITION),
  91. W3_FILES_SENT_SEC,
  92. 0,
  93. W3_FILES_SENT_SEC,
  94. 0,
  95. 0,
  96. PERF_DETAIL_ADVANCED,
  97. PERF_COUNTER_COUNTER,
  98. sizeof(w3c.FilesSentSec),
  99. 0 // assigned in open procedure
  100. },
  101. { // W3FilesReceived
  102. sizeof(PERF_COUNTER_DEFINITION),
  103. W3_FILES_RECEIVED_COUNTER,
  104. 0,
  105. W3_FILES_RECEIVED_COUNTER,
  106. 0,
  107. 0,
  108. PERF_DETAIL_ADVANCED,
  109. PERF_COUNTER_RAWCOUNT,
  110. sizeof(w3c.FilesReceived),
  111. 0 // assigned in open procedure
  112. },
  113. { // W3FilesReceivedSec
  114. sizeof(PERF_COUNTER_DEFINITION),
  115. W3_FILES_RECEIVED_SEC,
  116. 0,
  117. W3_FILES_RECEIVED_SEC,
  118. 0,
  119. 0,
  120. PERF_DETAIL_ADVANCED,
  121. PERF_COUNTER_COUNTER,
  122. sizeof(w3c.FilesReceivedSec),
  123. 0 // assigned in open procedure
  124. },
  125. { // W3FilesTotal
  126. sizeof(PERF_COUNTER_DEFINITION),
  127. W3_FILES_TOTAL_COUNTER,
  128. 0,
  129. W3_FILES_TOTAL_COUNTER,
  130. 0,
  131. 0,
  132. PERF_DETAIL_ADVANCED,
  133. PERF_COUNTER_RAWCOUNT,
  134. sizeof(w3c.FilesTotal),
  135. 0 // assigned in open procedure
  136. },
  137. { // W3FilesSec
  138. sizeof(PERF_COUNTER_DEFINITION),
  139. W3_FILES_SEC,
  140. 0,
  141. W3_FILES_SEC,
  142. 0,
  143. 0,
  144. PERF_DETAIL_ADVANCED,
  145. PERF_COUNTER_COUNTER,
  146. sizeof(w3c.FilesSec),
  147. 0 // assigned in open procedure
  148. },
  149. { // W3CurrentAnonymous
  150. sizeof(PERF_COUNTER_DEFINITION),
  151. W3_CURRENT_ANONYMOUS_COUNTER,
  152. 0,
  153. W3_CURRENT_ANONYMOUS_COUNTER,
  154. 0,
  155. 0,
  156. PERF_DETAIL_ADVANCED,
  157. PERF_COUNTER_RAWCOUNT,
  158. sizeof(w3c.CurrentAnonymous),
  159. 0 // assigned in open procedure
  160. },
  161. { // W3CurrentNonAnonymous
  162. sizeof(PERF_COUNTER_DEFINITION),
  163. W3_CURRENT_NONANONYMOUS_COUNTER,
  164. 0,
  165. W3_CURRENT_NONANONYMOUS_COUNTER,
  166. 0,
  167. 0,
  168. PERF_DETAIL_ADVANCED,
  169. PERF_COUNTER_RAWCOUNT,
  170. sizeof(w3c.CurrentNonAnonymous),
  171. 0 // assigned in open procedure
  172. },
  173. { // W3TotalAnonymous
  174. sizeof(PERF_COUNTER_DEFINITION),
  175. W3_TOTAL_ANONYMOUS_COUNTER,
  176. 0,
  177. W3_TOTAL_ANONYMOUS_COUNTER,
  178. 0,
  179. 0,
  180. PERF_DETAIL_ADVANCED,
  181. PERF_COUNTER_RAWCOUNT,
  182. sizeof(w3c.TotalAnonymous),
  183. 0 // assigned in open procedure
  184. },
  185. { // W3TotalAnonymous/Sec
  186. sizeof(PERF_COUNTER_DEFINITION),
  187. W3_ANONYMOUS_USERS_SEC,
  188. 0,
  189. W3_ANONYMOUS_USERS_SEC,
  190. 0,
  191. 0,
  192. PERF_DETAIL_ADVANCED,
  193. PERF_COUNTER_COUNTER,
  194. sizeof(w3c.AnonymousUsersSec),
  195. 0 // assigned in open procedure
  196. },
  197. { // W3NonAnonymous
  198. sizeof(PERF_COUNTER_DEFINITION),
  199. W3_TOTAL_NONANONYMOUS_COUNTER,
  200. 0,
  201. W3_TOTAL_NONANONYMOUS_COUNTER,
  202. 0,
  203. 0,
  204. PERF_DETAIL_ADVANCED,
  205. PERF_COUNTER_RAWCOUNT,
  206. sizeof(w3c.TotalNonAnonymous),
  207. 0 // assigned in open procedure
  208. },
  209. { // W3NonAnonymous/Sec
  210. sizeof(PERF_COUNTER_DEFINITION),
  211. W3_NON_ANONYMOUS_USERS_SEC,
  212. 0,
  213. W3_NON_ANONYMOUS_USERS_SEC,
  214. 0,
  215. 0,
  216. PERF_DETAIL_ADVANCED,
  217. PERF_COUNTER_COUNTER,
  218. sizeof(w3c.NonAnonymousUsersSec),
  219. 0 // assigned in open procedure
  220. },
  221. { // W3MaxAnonymous
  222. sizeof(PERF_COUNTER_DEFINITION),
  223. W3_MAX_ANONYMOUS_COUNTER,
  224. 0,
  225. W3_MAX_ANONYMOUS_COUNTER,
  226. 0,
  227. 0,
  228. PERF_DETAIL_ADVANCED,
  229. PERF_COUNTER_RAWCOUNT,
  230. sizeof(w3c.MaxAnonymous),
  231. 0 // assigned in open procedure
  232. },
  233. { // W3MaxNonAnonymous
  234. sizeof(PERF_COUNTER_DEFINITION),
  235. W3_MAX_NONANONYMOUS_COUNTER,
  236. 0,
  237. W3_MAX_NONANONYMOUS_COUNTER,
  238. 0,
  239. 0,
  240. PERF_DETAIL_ADVANCED,
  241. PERF_COUNTER_RAWCOUNT,
  242. sizeof(w3c.MaxNonAnonymous),
  243. 0 // assigned in open procedure
  244. },
  245. { // W3CurrentConnections
  246. sizeof(PERF_COUNTER_DEFINITION),
  247. W3_CURRENT_CONNECTIONS_COUNTER,
  248. 0,
  249. W3_CURRENT_CONNECTIONS_COUNTER,
  250. 0,
  251. 0,
  252. PERF_DETAIL_ADVANCED,
  253. PERF_COUNTER_RAWCOUNT,
  254. sizeof(w3c.CurrentConnections),
  255. 0 // assigned in open procedure
  256. },
  257. { // W3MaxConnections
  258. sizeof(PERF_COUNTER_DEFINITION),
  259. W3_MAX_CONNECTIONS_COUNTER,
  260. 0,
  261. W3_MAX_CONNECTIONS_COUNTER,
  262. 0,
  263. 0,
  264. PERF_DETAIL_ADVANCED,
  265. PERF_COUNTER_RAWCOUNT,
  266. sizeof(w3c.MaxConnections),
  267. 0 // assigned in open procedure
  268. },
  269. { // W3ConnectionAttempts
  270. sizeof(PERF_COUNTER_DEFINITION),
  271. W3_CONNECTION_ATTEMPTS_COUNTER,
  272. 0,
  273. W3_CONNECTION_ATTEMPTS_COUNTER,
  274. 0,
  275. 0,
  276. PERF_DETAIL_ADVANCED,
  277. PERF_COUNTER_RAWCOUNT,
  278. sizeof(w3c.ConnectionAttempts),
  279. 0 // assigned in open procedure
  280. },
  281. { // W3ConnectionsPerSec
  282. sizeof(PERF_COUNTER_DEFINITION),
  283. W3_CONNECTION_ATTEMPTS_SEC,
  284. 0,
  285. W3_CONNECTION_ATTEMPTS_SEC,
  286. 0,
  287. 0,
  288. PERF_DETAIL_ADVANCED,
  289. PERF_COUNTER_COUNTER,
  290. sizeof(w3c.ConnectionAttemptsSec),
  291. 0 // assigned in open procedure
  292. },
  293. { // W3LogonAttempts
  294. sizeof(PERF_COUNTER_DEFINITION),
  295. W3_LOGON_ATTEMPTS_COUNTER,
  296. 0,
  297. W3_LOGON_ATTEMPTS_COUNTER,
  298. 0,
  299. 0,
  300. PERF_DETAIL_ADVANCED,
  301. PERF_COUNTER_RAWCOUNT,
  302. sizeof(w3c.LogonAttempts),
  303. 0 // assigned in open procedure
  304. },
  305. { // W3LogonAttemptsSec
  306. sizeof(PERF_COUNTER_DEFINITION),
  307. W3_LOGON_ATTEMPTS_SEC,
  308. 0,
  309. W3_LOGON_ATTEMPTS_SEC,
  310. 0,
  311. 0,
  312. PERF_DETAIL_ADVANCED,
  313. PERF_COUNTER_COUNTER,
  314. sizeof(w3c.LogonAttemptsSec),
  315. 0 // assigned in open procedure
  316. },
  317. { // W3TotalOptions
  318. sizeof(PERF_COUNTER_DEFINITION),
  319. W3_TOTAL_OPTIONS_COUNTER,
  320. 0,
  321. W3_TOTAL_OPTIONS_COUNTER,
  322. 0,
  323. 0,
  324. PERF_DETAIL_ADVANCED,
  325. PERF_COUNTER_RAWCOUNT,
  326. sizeof(w3c.TotalOptions),
  327. 0 // assigned in open procedure
  328. },
  329. { // W3TotalOptionsSec
  330. sizeof(PERF_COUNTER_DEFINITION),
  331. W3_TOTAL_OPTIONS_SEC,
  332. 0,
  333. W3_TOTAL_OPTIONS_SEC,
  334. 0,
  335. 0,
  336. PERF_DETAIL_ADVANCED,
  337. PERF_COUNTER_COUNTER,
  338. sizeof(w3c.TotalOptionsSec),
  339. 0 // assigned in open procedure
  340. },
  341. { // W3TotalGets
  342. sizeof(PERF_COUNTER_DEFINITION),
  343. W3_TOTAL_GETS_COUNTER,
  344. 0,
  345. W3_TOTAL_GETS_COUNTER,
  346. 0,
  347. 0,
  348. PERF_DETAIL_ADVANCED,
  349. PERF_COUNTER_RAWCOUNT,
  350. sizeof(w3c.TotalGets),
  351. 0 // assigned in open procedure
  352. },
  353. { // W3TotalGetsSec
  354. sizeof(PERF_COUNTER_DEFINITION),
  355. W3_TOTAL_GETS_SEC,
  356. 0,
  357. W3_TOTAL_GETS_SEC,
  358. 0,
  359. 0,
  360. PERF_DETAIL_ADVANCED,
  361. PERF_COUNTER_COUNTER,
  362. sizeof(w3c.TotalGetsSec),
  363. 0 // assigned in open procedure
  364. },
  365. { // W3TotalPosts
  366. sizeof(PERF_COUNTER_DEFINITION),
  367. W3_TOTAL_POSTS_COUNTER,
  368. 0,
  369. W3_TOTAL_POSTS_COUNTER,
  370. 0,
  371. 0,
  372. PERF_DETAIL_ADVANCED,
  373. PERF_COUNTER_RAWCOUNT,
  374. sizeof(w3c.TotalPosts),
  375. 0 // assigned in open procedure
  376. },
  377. { // W3TotalPostsSec
  378. sizeof(PERF_COUNTER_DEFINITION),
  379. W3_TOTAL_POSTS_SEC,
  380. 0,
  381. W3_TOTAL_POSTS_SEC,
  382. 0,
  383. 0,
  384. PERF_DETAIL_ADVANCED,
  385. PERF_COUNTER_COUNTER,
  386. sizeof(w3c.TotalPostsSec),
  387. 0 // assigned in open procedure
  388. },
  389. { // W3TotalHeads
  390. sizeof(PERF_COUNTER_DEFINITION),
  391. W3_TOTAL_HEADS_COUNTER,
  392. 0,
  393. W3_TOTAL_HEADS_COUNTER,
  394. 0,
  395. 0,
  396. PERF_DETAIL_ADVANCED,
  397. PERF_COUNTER_RAWCOUNT,
  398. sizeof(w3c.TotalHeads),
  399. 0 // assigned in open procedure
  400. },
  401. { // W3TotalHeadsSec
  402. sizeof(PERF_COUNTER_DEFINITION),
  403. W3_TOTAL_HEADS_SEC,
  404. 0,
  405. W3_TOTAL_HEADS_SEC,
  406. 0,
  407. 0,
  408. PERF_DETAIL_ADVANCED,
  409. PERF_COUNTER_COUNTER,
  410. sizeof(w3c.TotalHeadsSec),
  411. 0 // assigned in open procedure
  412. },
  413. { // W3TotalPuts
  414. sizeof(PERF_COUNTER_DEFINITION),
  415. W3_TOTAL_PUTS_COUNTER,
  416. 0,
  417. W3_TOTAL_PUTS_COUNTER,
  418. 0,
  419. 0,
  420. PERF_DETAIL_ADVANCED,
  421. PERF_COUNTER_RAWCOUNT,
  422. sizeof(w3c.TotalPuts),
  423. 0 // assigned in open procedure
  424. },
  425. { // W3TotalPutsSec
  426. sizeof(PERF_COUNTER_DEFINITION),
  427. W3_TOTAL_PUTS_SEC,
  428. 0,
  429. W3_TOTAL_PUTS_SEC,
  430. 0,
  431. 0,
  432. PERF_DETAIL_ADVANCED,
  433. PERF_COUNTER_COUNTER,
  434. sizeof(w3c.TotalPutsSec),
  435. 0 // assigned in open procedure
  436. },
  437. { // W3TotalDeletes
  438. sizeof(PERF_COUNTER_DEFINITION),
  439. W3_TOTAL_DELETES_COUNTER,
  440. 0,
  441. W3_TOTAL_DELETES_COUNTER,
  442. 0,
  443. 0,
  444. PERF_DETAIL_ADVANCED,
  445. PERF_COUNTER_RAWCOUNT,
  446. sizeof(w3c.TotalDeletes),
  447. 0 // assigned in open procedure
  448. },
  449. { // W3TotalDeletesSec
  450. sizeof(PERF_COUNTER_DEFINITION),
  451. W3_TOTAL_DELETES_SEC,
  452. 0,
  453. W3_TOTAL_DELETES_SEC,
  454. 0,
  455. 0,
  456. PERF_DETAIL_ADVANCED,
  457. PERF_COUNTER_COUNTER,
  458. sizeof(w3c.TotalDeletesSec),
  459. 0 // assigned in open procedure
  460. },
  461. { // W3TotalTraces
  462. sizeof(PERF_COUNTER_DEFINITION),
  463. W3_TOTAL_TRACES_COUNTER,
  464. 0,
  465. W3_TOTAL_TRACES_COUNTER,
  466. 0,
  467. 0,
  468. PERF_DETAIL_ADVANCED,
  469. PERF_COUNTER_RAWCOUNT,
  470. sizeof(w3c.TotalTraces),
  471. 0 // assigned in open procedure
  472. },
  473. { // W3TotalTracesSec
  474. sizeof(PERF_COUNTER_DEFINITION),
  475. W3_TOTAL_TRACES_SEC,
  476. 0,
  477. W3_TOTAL_TRACES_SEC,
  478. 0,
  479. 0,
  480. PERF_DETAIL_ADVANCED,
  481. PERF_COUNTER_COUNTER,
  482. sizeof(w3c.TotalTracesSec),
  483. 0 // assigned in open procedure
  484. },
  485. { // W3TotalMove
  486. sizeof(PERF_COUNTER_DEFINITION),
  487. W3_TOTAL_MOVE_COUNTER,
  488. 0,
  489. W3_TOTAL_MOVE_COUNTER,
  490. 0,
  491. 0,
  492. PERF_DETAIL_ADVANCED,
  493. PERF_COUNTER_RAWCOUNT,
  494. sizeof(w3c.TotalMove),
  495. 0 // assigned in open procedure
  496. },
  497. { // W3TotalMoveSec
  498. sizeof(PERF_COUNTER_DEFINITION),
  499. W3_TOTAL_MOVE_SEC,
  500. 0,
  501. W3_TOTAL_MOVE_SEC,
  502. 0,
  503. 0,
  504. PERF_DETAIL_ADVANCED,
  505. PERF_COUNTER_COUNTER,
  506. sizeof(w3c.TotalMoveSec),
  507. 0 // assigned in open procedure
  508. },
  509. { // W3TotalCopy
  510. sizeof(PERF_COUNTER_DEFINITION),
  511. W3_TOTAL_COPY_COUNTER,
  512. 0,
  513. W3_TOTAL_COPY_COUNTER,
  514. 0,
  515. 0,
  516. PERF_DETAIL_ADVANCED,
  517. PERF_COUNTER_RAWCOUNT,
  518. sizeof(w3c.TotalCopy),
  519. 0 // assigned in open procedure
  520. },
  521. { // W3TotalCopySec
  522. sizeof(PERF_COUNTER_DEFINITION),
  523. W3_TOTAL_COPY_SEC,
  524. 0,
  525. W3_TOTAL_COPY_SEC,
  526. 0,
  527. 0,
  528. PERF_DETAIL_ADVANCED,
  529. PERF_COUNTER_COUNTER,
  530. sizeof(w3c.TotalCopySec),
  531. 0 // assigned in open procedure
  532. },
  533. { // W3TotalMkcol
  534. sizeof(PERF_COUNTER_DEFINITION),
  535. W3_TOTAL_MKCOL_COUNTER,
  536. 0,
  537. W3_TOTAL_MKCOL_COUNTER,
  538. 0,
  539. 0,
  540. PERF_DETAIL_ADVANCED,
  541. PERF_COUNTER_RAWCOUNT,
  542. sizeof(w3c.TotalMkcol),
  543. 0 // assigned in open procedure
  544. },
  545. { // W3TotalMkcolSec
  546. sizeof(PERF_COUNTER_DEFINITION),
  547. W3_TOTAL_MKCOL_SEC,
  548. 0,
  549. W3_TOTAL_MKCOL_SEC,
  550. 0,
  551. 0,
  552. PERF_DETAIL_ADVANCED,
  553. PERF_COUNTER_COUNTER,
  554. sizeof(w3c.TotalMkcolSec),
  555. 0 // assigned in open procedure
  556. },
  557. { // W3TotalPropfind
  558. sizeof(PERF_COUNTER_DEFINITION),
  559. W3_TOTAL_PROPFIND_COUNTER,
  560. 0,
  561. W3_TOTAL_PROPFIND_COUNTER,
  562. 0,
  563. 0,
  564. PERF_DETAIL_ADVANCED,
  565. PERF_COUNTER_RAWCOUNT,
  566. sizeof(w3c.TotalPropfind),
  567. 0 // assigned in open procedure
  568. },
  569. { // W3TotalPropfindSec
  570. sizeof(PERF_COUNTER_DEFINITION),
  571. W3_TOTAL_PROPFIND_SEC,
  572. 0,
  573. W3_TOTAL_PROPFIND_SEC,
  574. 0,
  575. 0,
  576. PERF_DETAIL_ADVANCED,
  577. PERF_COUNTER_COUNTER,
  578. sizeof(w3c.TotalPropfindSec),
  579. 0 // assigned in open procedure
  580. },
  581. { // W3TotalProppatch
  582. sizeof(PERF_COUNTER_DEFINITION),
  583. W3_TOTAL_PROPPATCH_COUNTER,
  584. 0,
  585. W3_TOTAL_PROPPATCH_COUNTER,
  586. 0,
  587. 0,
  588. PERF_DETAIL_ADVANCED,
  589. PERF_COUNTER_RAWCOUNT,
  590. sizeof(w3c.TotalProppatch),
  591. 0 // assigned in open procedure
  592. },
  593. { // W3TotalProppatchSec
  594. sizeof(PERF_COUNTER_DEFINITION),
  595. W3_TOTAL_PROPPATCH_SEC,
  596. 0,
  597. W3_TOTAL_PROPPATCH_SEC,
  598. 0,
  599. 0,
  600. PERF_DETAIL_ADVANCED,
  601. PERF_COUNTER_COUNTER,
  602. sizeof(w3c.TotalProppatchSec),
  603. 0 // assigned in open procedure
  604. },
  605. { // W3TotalSearch
  606. sizeof(PERF_COUNTER_DEFINITION),
  607. W3_TOTAL_SEARCH_COUNTER,
  608. 0,
  609. W3_TOTAL_SEARCH_COUNTER,
  610. 0,
  611. 0,
  612. PERF_DETAIL_ADVANCED,
  613. PERF_COUNTER_RAWCOUNT,
  614. sizeof(w3c.TotalSearch),
  615. 0 // assigned in open procedure
  616. },
  617. { // W3TotalSearchSec
  618. sizeof(PERF_COUNTER_DEFINITION),
  619. W3_TOTAL_SEARCH_SEC,
  620. 0,
  621. W3_TOTAL_SEARCH_SEC,
  622. 0,
  623. 0,
  624. PERF_DETAIL_ADVANCED,
  625. PERF_COUNTER_COUNTER,
  626. sizeof(w3c.TotalSearchSec),
  627. 0 // assigned in open procedure
  628. },
  629. { // W3TotalLock
  630. sizeof(PERF_COUNTER_DEFINITION),
  631. W3_TOTAL_LOCK_COUNTER,
  632. 0,
  633. W3_TOTAL_LOCK_COUNTER,
  634. 0,
  635. 0,
  636. PERF_DETAIL_ADVANCED,
  637. PERF_COUNTER_RAWCOUNT,
  638. sizeof(w3c.TotalLock),
  639. 0 // assigned in open procedure
  640. },
  641. { // W3TotalLockSec
  642. sizeof(PERF_COUNTER_DEFINITION),
  643. W3_TOTAL_LOCK_SEC,
  644. 0,
  645. W3_TOTAL_LOCK_SEC,
  646. 0,
  647. 0,
  648. PERF_DETAIL_ADVANCED,
  649. PERF_COUNTER_COUNTER,
  650. sizeof(w3c.TotalLockSec),
  651. 0 // assigned in open procedure
  652. },
  653. { // W3TotalUnlock
  654. sizeof(PERF_COUNTER_DEFINITION),
  655. W3_TOTAL_UNLOCK_COUNTER,
  656. 0,
  657. W3_TOTAL_UNLOCK_COUNTER,
  658. 0,
  659. 0,
  660. PERF_DETAIL_ADVANCED,
  661. PERF_COUNTER_RAWCOUNT,
  662. sizeof(w3c.TotalUnlock),
  663. 0 // assigned in open procedure
  664. },
  665. { // W3TotalUnlockSec
  666. sizeof(PERF_COUNTER_DEFINITION),
  667. W3_TOTAL_UNLOCK_SEC,
  668. 0,
  669. W3_TOTAL_UNLOCK_SEC,
  670. 0,
  671. 0,
  672. PERF_DETAIL_ADVANCED,
  673. PERF_COUNTER_COUNTER,
  674. sizeof(w3c.TotalUnlockSec),
  675. 0 // assigned in open procedure
  676. },
  677. { // W3TotalOthers
  678. sizeof(PERF_COUNTER_DEFINITION),
  679. W3_TOTAL_OTHERS_COUNTER,
  680. 0,
  681. W3_TOTAL_OTHERS_COUNTER,
  682. 0,
  683. 0,
  684. PERF_DETAIL_ADVANCED,
  685. PERF_COUNTER_RAWCOUNT,
  686. sizeof(w3c.TotalOthers),
  687. 0 // assigned in open procedure
  688. },
  689. { // W3TotalOthersSec
  690. sizeof(PERF_COUNTER_DEFINITION),
  691. W3_TOTAL_OTHERS_SEC,
  692. 0,
  693. W3_TOTAL_OTHERS_SEC,
  694. 0,
  695. 0,
  696. PERF_DETAIL_ADVANCED,
  697. PERF_COUNTER_COUNTER,
  698. sizeof(w3c.TotalOthersSec),
  699. 0 // assigned in open procedure
  700. },
  701. { // W3TotalRequests
  702. sizeof(PERF_COUNTER_DEFINITION),
  703. W3_TOTAL_REQUESTS_COUNTER,
  704. 0,
  705. W3_TOTAL_REQUESTS_COUNTER,
  706. 0,
  707. 0,
  708. PERF_DETAIL_ADVANCED,
  709. PERF_COUNTER_RAWCOUNT,
  710. sizeof(w3c.TotalRequests),
  711. 0 // assigned in open procedure
  712. },
  713. { // W3TotalRequestsSec
  714. sizeof(PERF_COUNTER_DEFINITION),
  715. W3_TOTAL_REQUESTS_SEC,
  716. 0,
  717. W3_TOTAL_REQUESTS_SEC,
  718. 0,
  719. 0,
  720. PERF_DETAIL_ADVANCED,
  721. PERF_COUNTER_COUNTER,
  722. sizeof(w3c.TotalRequestsSec),
  723. 0 // assigned in open procedure
  724. },
  725. { // W3TotalCGIRequests
  726. sizeof(PERF_COUNTER_DEFINITION),
  727. W3_TOTAL_CGI_REQUESTS_COUNTER,
  728. 0,
  729. W3_TOTAL_CGI_REQUESTS_COUNTER,
  730. 0,
  731. 0,
  732. PERF_DETAIL_ADVANCED,
  733. PERF_COUNTER_RAWCOUNT,
  734. sizeof(w3c.TotalCGIRequests),
  735. 0 // assigned in open procedure
  736. },
  737. { // W3TotalCGIRequestsSec
  738. sizeof(PERF_COUNTER_DEFINITION),
  739. W3_CGI_REQUESTS_SEC,
  740. 0,
  741. W3_CGI_REQUESTS_SEC,
  742. 0,
  743. 0,
  744. PERF_DETAIL_ADVANCED,
  745. PERF_COUNTER_COUNTER,
  746. sizeof(w3c.CGIRequestsSec),
  747. 0 // assigned in open procedure
  748. },
  749. { // W3TotalBGIRequests
  750. sizeof(PERF_COUNTER_DEFINITION),
  751. W3_TOTAL_BGI_REQUESTS_COUNTER,
  752. 0,
  753. W3_TOTAL_BGI_REQUESTS_COUNTER,
  754. 0,
  755. 0,
  756. PERF_DETAIL_ADVANCED,
  757. PERF_COUNTER_RAWCOUNT,
  758. sizeof(w3c.TotalBGIRequests),
  759. 0 // assigned in open procedure
  760. },
  761. { // W3TotalBGIRequestsSec
  762. sizeof(PERF_COUNTER_DEFINITION),
  763. W3_BGI_REQUESTS_SEC,
  764. 0,
  765. W3_BGI_REQUESTS_SEC,
  766. 0,
  767. 0,
  768. PERF_DETAIL_ADVANCED,
  769. PERF_COUNTER_COUNTER,
  770. sizeof(w3c.BGIRequestsSec),
  771. 0 // assigned in open procedure
  772. },
  773. { // W3TotalNotFoundErrors
  774. sizeof(PERF_COUNTER_DEFINITION),
  775. W3_TOTAL_NOT_FOUND_ERRORS_COUNTER,
  776. 0,
  777. W3_TOTAL_NOT_FOUND_ERRORS_COUNTER,
  778. 0,
  779. 0,
  780. PERF_DETAIL_ADVANCED,
  781. PERF_COUNTER_RAWCOUNT,
  782. sizeof(w3c.TotalNotFoundErrors),
  783. 0 // assigned in open procedure
  784. },
  785. { // W3TotalNotFoundErrorsSec
  786. sizeof(PERF_COUNTER_DEFINITION),
  787. W3_TOTAL_NOT_FOUND_ERRORS_SEC,
  788. 0,
  789. W3_TOTAL_NOT_FOUND_ERRORS_SEC,
  790. 0,
  791. 0,
  792. PERF_DETAIL_ADVANCED,
  793. PERF_COUNTER_COUNTER,
  794. sizeof(w3c.TotalNotFoundErrorsSec),
  795. 0 // assigned in open procedure
  796. },
  797. { // W3TotalLockedErrors
  798. sizeof(PERF_COUNTER_DEFINITION),
  799. W3_TOTAL_LOCKED_ERRORS_COUNTER,
  800. 0,
  801. W3_TOTAL_LOCKED_ERRORS_COUNTER,
  802. 0,
  803. 0,
  804. PERF_DETAIL_ADVANCED,
  805. PERF_COUNTER_RAWCOUNT,
  806. sizeof(w3c.TotalLockedErrors),
  807. 0 // assigned in open procedure
  808. },
  809. { // W3TotalLockedErrorsSec
  810. sizeof(PERF_COUNTER_DEFINITION),
  811. W3_TOTAL_LOCKED_ERRORS_SEC,
  812. 0,
  813. W3_TOTAL_LOCKED_ERRORS_SEC,
  814. 0,
  815. 0,
  816. PERF_DETAIL_ADVANCED,
  817. PERF_COUNTER_COUNTER,
  818. sizeof(w3c.TotalLockedErrorsSec),
  819. 0 // assigned in open procedure
  820. },
  821. { // W3CurrentCGI
  822. sizeof(PERF_COUNTER_DEFINITION),
  823. W3_CURRENT_CGI_COUNTER,
  824. 0,
  825. W3_CURRENT_CGI_COUNTER,
  826. 0,
  827. 0,
  828. PERF_DETAIL_ADVANCED,
  829. PERF_COUNTER_RAWCOUNT,
  830. sizeof(w3c.CurrentCGIRequests),
  831. 0 // assigned in open procedure
  832. },
  833. { // W3CurrentBGI
  834. sizeof(PERF_COUNTER_DEFINITION),
  835. W3_CURRENT_BGI_COUNTER,
  836. 0,
  837. W3_CURRENT_BGI_COUNTER,
  838. 0,
  839. 0,
  840. PERF_DETAIL_ADVANCED,
  841. PERF_COUNTER_RAWCOUNT,
  842. sizeof(w3c.CurrentBGIRequests),
  843. 0 // assigned in open procedure
  844. },
  845. { // W3MaxCGI
  846. sizeof(PERF_COUNTER_DEFINITION),
  847. W3_MAX_CGI_COUNTER,
  848. 0,
  849. W3_MAX_CGI_COUNTER,
  850. 0,
  851. 0,
  852. PERF_DETAIL_ADVANCED,
  853. PERF_COUNTER_RAWCOUNT,
  854. sizeof(w3c.MaxCGIRequests),
  855. 0 // assigned in open procedure
  856. },
  857. { // W3MaxBGI
  858. sizeof(PERF_COUNTER_DEFINITION),
  859. W3_MAX_BGI_COUNTER,
  860. 0,
  861. W3_MAX_BGI_COUNTER,
  862. 0,
  863. 0,
  864. PERF_DETAIL_ADVANCED,
  865. PERF_COUNTER_RAWCOUNT,
  866. sizeof(w3c.MaxBGIRequests),
  867. 0 // assigned in open procedure
  868. },
  869. #if defined(CAL_ENABLED)
  870. { // W3CurrentCalAuth
  871. sizeof(PERF_COUNTER_DEFINITION),
  872. W3_CURRENT_CAL_AUTH_COUNTER,
  873. 0,
  874. W3_CURRENT_CAL_AUTH_COUNTER,
  875. 0,
  876. 0,
  877. PERF_DETAIL_ADVANCED,
  878. PERF_COUNTER_RAWCOUNT,
  879. sizeof(w3c.CurrentCalAuth),
  880. 0 // assigned in open procedure
  881. },
  882. { // W3MaxCalAuth
  883. sizeof(PERF_COUNTER_DEFINITION),
  884. W3_MAX_CAL_AUTH_COUNTER,
  885. 0,
  886. W3_MAX_CAL_AUTH_COUNTER,
  887. 0,
  888. 0,
  889. PERF_DETAIL_ADVANCED,
  890. PERF_COUNTER_RAWCOUNT,
  891. sizeof(w3c.MaxCalAuth),
  892. 0 // assigned in open procedure
  893. },
  894. { // W3TotalFailedCalAuth
  895. sizeof(PERF_COUNTER_DEFINITION),
  896. W3_TOTAL_FAILED_CAL_AUTH_COUNTER,
  897. 0,
  898. W3_TOTAL_FAILED_CAL_AUTH_COUNTER,
  899. 0,
  900. 0,
  901. PERF_DETAIL_ADVANCED,
  902. PERF_COUNTER_RAWCOUNT,
  903. sizeof(w3c.TotalFailedCalAuth),
  904. 0 // assigned in open procedure
  905. },
  906. { // W3CurrentCalSsl
  907. sizeof(PERF_COUNTER_DEFINITION),
  908. W3_CURRENT_CAL_SSL_COUNTER,
  909. 0,
  910. W3_CURRENT_CAL_SSL_COUNTER,
  911. 0,
  912. 0,
  913. PERF_DETAIL_ADVANCED,
  914. PERF_COUNTER_RAWCOUNT,
  915. sizeof(w3c.CurrentCalSsl),
  916. 0 // assigned in open procedure
  917. },
  918. { // W3MaxCalSsl
  919. sizeof(PERF_COUNTER_DEFINITION),
  920. W3_MAX_CAL_SSL_COUNTER,
  921. 0,
  922. W3_MAX_CAL_SSL_COUNTER,
  923. 0,
  924. 0,
  925. PERF_DETAIL_ADVANCED,
  926. PERF_COUNTER_RAWCOUNT,
  927. sizeof(w3c.MaxCalSsl),
  928. 0 // assigned in open procedure
  929. },
  930. { // W3TotalFailedCalSsl
  931. sizeof(PERF_COUNTER_DEFINITION),
  932. W3_TOTAL_FAILED_CAL_SSL_COUNTER,
  933. 0,
  934. W3_TOTAL_FAILED_CAL_SSL_COUNTER,
  935. 0,
  936. 0,
  937. PERF_DETAIL_ADVANCED,
  938. PERF_COUNTER_RAWCOUNT,
  939. sizeof(w3c.TotalFailedCalSsl),
  940. 0 // assigned in open procedure
  941. },
  942. #endif
  943. { // W3BlockedRequests
  944. sizeof(PERF_COUNTER_DEFINITION),
  945. W3_BLOCKED_REQUESTS_COUNTER,
  946. 0,
  947. W3_BLOCKED_REQUESTS_COUNTER,
  948. 0,
  949. 0,
  950. PERF_DETAIL_ADVANCED,
  951. PERF_COUNTER_RAWCOUNT,
  952. sizeof(w3c.BlockedRequests),
  953. 0 // assigned in open procedure
  954. },
  955. { // W3AllowedRequests
  956. sizeof(PERF_COUNTER_DEFINITION),
  957. W3_ALLOWED_REQUESTS_COUNTER,
  958. 0,
  959. W3_ALLOWED_REQUESTS_COUNTER,
  960. 0,
  961. 0,
  962. PERF_DETAIL_ADVANCED,
  963. PERF_COUNTER_RAWCOUNT,
  964. sizeof(w3c.AllowedRequests),
  965. 0 // assigned in open procedure
  966. },
  967. { // W3RejectedRequests
  968. sizeof(PERF_COUNTER_DEFINITION),
  969. W3_REJECTED_REQUESTS_COUNTER,
  970. 0,
  971. W3_REJECTED_REQUESTS_COUNTER,
  972. 0,
  973. 0,
  974. PERF_DETAIL_ADVANCED,
  975. PERF_COUNTER_RAWCOUNT,
  976. sizeof(w3c.RejectedRequests),
  977. 0 // assigned in open procedure
  978. },
  979. { // W3CurrentBlockedRequests
  980. sizeof(PERF_COUNTER_DEFINITION),
  981. W3_CURRENT_BLOCKED_REQUESTS_COUNTER,
  982. 0,
  983. W3_CURRENT_BLOCKED_REQUESTS_COUNTER,
  984. 0,
  985. 0,
  986. PERF_DETAIL_ADVANCED,
  987. PERF_COUNTER_RAWCOUNT,
  988. sizeof(w3c.CurrentBlockedRequests),
  989. 0 // assigned in open procedure
  990. },
  991. { // W3MeasuredBandwidth
  992. sizeof(PERF_COUNTER_DEFINITION),
  993. W3_MEASURED_BANDWIDTH_COUNTER,
  994. 0,
  995. W3_MEASURED_BANDWIDTH_COUNTER,
  996. 0,
  997. 0,
  998. PERF_DETAIL_ADVANCED,
  999. PERF_COUNTER_RAWCOUNT,
  1000. sizeof(w3c.MeasuredBandwidth),
  1001. 0 // assigned in open procedure
  1002. },
  1003. { // W3ServiceUptime
  1004. sizeof(PERF_COUNTER_DEFINITION),
  1005. W3_SERVICE_UPTIME_COUNTER,
  1006. 0,
  1007. W3_SERVICE_UPTIME_COUNTER,
  1008. 0,
  1009. 0,
  1010. PERF_DETAIL_ADVANCED,
  1011. PERF_COUNTER_RAWCOUNT,
  1012. sizeof(w3c.ServiceUptime),
  1013. 0 // assigned in open procedure
  1014. }
  1015. };