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.

61 lines
1.6 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1997.
  5. //
  6. // File: lsaperf.h
  7. //
  8. // Contents: Performance Counters for LSA
  9. //
  10. // Classes:
  11. //
  12. // Functions:
  13. //
  14. // History: 10-23-97 RichardW Created
  15. //
  16. //----------------------------------------------------------------------------
  17. #ifndef __LSAPERF_H__
  18. #define __LSAPERF_H__
  19. #define QUEUE_TYPE_GENERAL 0x10000000
  20. #define QUEUE_TYPE_DEDICATED 0x20000000
  21. #define QUEUE_TYPE_DIRECT 0x30000000
  22. typedef struct _LSAP_QUEUE_PERF_DATA {
  23. LONGLONG MessageCount ;
  24. ULONG QueueType ;
  25. ULONG Threads ;
  26. ULONG CurrentDepth ;
  27. ULONG Shortages ;
  28. } LSAP_QUEUE_PERF_DATA, * PLSAP_QUEUE_PERF_DATA ;
  29. typedef struct _LSAP_PACKAGE_PERF_DATA {
  30. ULONG ContextHandles ;
  31. ULONG CredentialHandles ;
  32. } LSAP_PACKAGE_PERF_DATA, * PLSAP_PACKAGE_PERF_DATA ;
  33. typedef struct _LSAP_CLIENT_PERF_DATA {
  34. ULONG ProcessId ;
  35. ULONG ContextHandles ;
  36. ULONG CredentialHandles ;
  37. } LSAP_CLIENT_PERF_DATA, * PLSAP_CLIENT_PERF_DATA ;
  38. typedef struct _LSAP_PERFORMANCE_DATA {
  39. ULONG TotalWorkerThreads ;
  40. ULONG DedicatedWorkerThreads ;
  41. ULONG TotalContextHandles ;
  42. ULONG TotalCredentialHandles ;
  43. ULONG TotalApiCalls ;
  44. ULONG OffsetToQueueData ;
  45. ULONG CountOfQueueData ;
  46. ULONG OffsetToPackageData ;
  47. ULONG CountOfPackageData ;
  48. ULONG OffsetToClientData ;
  49. ULONG CountOfClientData ;
  50. } LSAP_PERFORMANCE_DATA, * PLSAP_PERFORMANCE_DATA ;
  51. #endif