PERF_MULTI_COUNTERS structure (perflib.h)

Provides information about the PERF_MULTI_COUNTERS block that contains the structure. A PERF_MULTI_COUNTERS block indicates the performance counters for which results are provided as part of the PERF_COUNTER_HEADER block in multiple-counter query. The PERF_MULTI_COUNTERS block consists of a PERF_MULTI_COUNTERS structure followed by a sequence of DWORD values that specify performance counter identifiers.

Syntax

typedef struct _PERF_MULTI_COUNTERS {
  ULONG dwSize;
  ULONG dwCounters;
} PERF_MULTI_COUNTERS, *PPERF_MULTI_COUNTERS;

Members

dwSize

The total size of the PERF_MULTI_COUNTERS block, in bytes. This total size is the sum of the sizes of the PERF_MULTI_COUNTERS structure and all of the performance counter identifiers.

dwCounters

The number of performance counter identifiers that the PERF_MULTI_COUNTERS block contains.

Remarks

The PerfQueryCounterData function gets a PERF_DATA_HEADER block that may contain a PERF_MULTI_COUNTERS block within the PERF_COUNTER_HEADER block.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1607 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Header perflib.h

See also

PERF_COUNTER_HEADER

PERF_DATA_HEADER

PerfQueryCounterData