mirror of https://github.com/tongzx/nt5src
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
47 lines
710 B
/*++
|
|
|
|
Copyright (c) 1995 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
workload.h
|
|
|
|
Abstract:
|
|
|
|
Workload Header file
|
|
|
|
Author:
|
|
|
|
08-Apr-1998 mraghu
|
|
|
|
Revision History:
|
|
|
|
--*/
|
|
|
|
|
|
typedef struct _METRICS {
|
|
double Thruput;
|
|
double Response;
|
|
double Queue;
|
|
double Wait;
|
|
} METRICS, *PMETRICS;
|
|
|
|
typedef struct _WORKLOAD_RECORD {
|
|
LIST_ENTRY Entry;
|
|
|
|
METRICS Metrics;
|
|
|
|
ULONG ClassNumber;
|
|
PVOID ClassFilter;
|
|
LIST_ENTRY DiskListHead; // Per class disk list;
|
|
|
|
double TransCount;
|
|
double UserCPU;
|
|
double KernelCPU;
|
|
double CpuPerTrans;
|
|
double ReadCount;
|
|
double WriteCount;
|
|
double IoPerTrans;
|
|
double Wset;
|
|
} WORKLOAD_RECORD, *PWORKLOAD_RECORD;
|
|
|