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.

47 lines
710 B

  1. /*++
  2. Copyright (c) 1995 Microsoft Corporation
  3. Module Name:
  4. workload.h
  5. Abstract:
  6. Workload Header file
  7. Author:
  8. 08-Apr-1998 mraghu
  9. Revision History:
  10. --*/
  11. typedef struct _METRICS {
  12. double Thruput;
  13. double Response;
  14. double Queue;
  15. double Wait;
  16. } METRICS, *PMETRICS;
  17. typedef struct _WORKLOAD_RECORD {
  18. LIST_ENTRY Entry;
  19. METRICS Metrics;
  20. ULONG ClassNumber;
  21. PVOID ClassFilter;
  22. LIST_ENTRY DiskListHead; // Per class disk list;
  23. double TransCount;
  24. double UserCPU;
  25. double KernelCPU;
  26. double CpuPerTrans;
  27. double ReadCount;
  28. double WriteCount;
  29. double IoPerTrans;
  30. double Wset;
  31. } WORKLOAD_RECORD, *PWORKLOAD_RECORD;