--- mstools/h/winperf.h 2018/08/09 18:20:27 1.1.1.1 +++ mstools/h/winperf.h 2018/08/09 18:21:03 1.1.1.2 @@ -1,3 +1,5 @@ +#ifndef _WINPERF_INCLUDED_ +#define _WINPERF_INCLUDED_ // // winperf.h - Header file for the Performance Monitor data // @@ -524,6 +526,20 @@ typedef struct _PERF_OBJECT_TYPE { // can exceed 100%. Followed by // a counter of type _MULTI_BASE. +#define PERF_RAW_FRACTION 22 // Indicates the data is a fraction + // of the following + // counter which should not be + // time averaged on display (such as + // free space over total space.) + // Display as is. Display the + // quotient as "%". + +#define PERF_RAW_BASE 23 // Indicates the data is a base for + // the preceeding + // counter which should not be + // time averaged on display (such as + // free space over total space.) + // // The following counter type can be used with the preceeding types to // define a reange of values to be displayed in a histogram. @@ -630,3 +646,5 @@ typedef struct _PERF_COUNTER_BLOCK { // The PERF_COUNTER_BLOCK is followed by PERF_OBJECT_TYPE.NumCounters // number of counters. // + +#endif // _WINPERF_INCLUDED_