Skip to content

Latest commit

 

History

History
103 lines (76 loc) · 3.55 KB

ns-perflib-perf_data_header.md

File metadata and controls

103 lines (76 loc) · 3.55 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NS:perflib._PERF_DATA_HEADER
PERF_DATA_HEADER (perflib.h)
Provides information about the PERF_DATA_HEADER block that contains the structure.
*PPERF_DATA_HEADER
PERF_DATA_HEADER
PERF_DATA_HEADER structure [Perf]
PPERF_DATA_HEADER
PPERF_DATA_HEADER structure pointer [Perf]
perf.perf_data_header
perflib/PERF_DATA_HEADER
perflib/PPERF_DATA_HEADER
perf\perf_data_header.htm
perf
0B30B30A-2B2D-43D8-B6DD-58C70D54EB58
12/05/2018
*PPERF_DATA_HEADER, PERF_DATA_HEADER, PERF_DATA_HEADER structure [Perf], PPERF_DATA_HEADER, PPERF_DATA_HEADER structure pointer [Perf], perf.perf_data_header, perflib/PERF_DATA_HEADER, perflib/PPERF_DATA_HEADER
perflib.h
Windows
Windows 10, version 1607 [desktop apps only]
Windows Server 2016 [desktop apps only]
Windows
PERF_DATA_HEADER, *PPERF_DATA_HEADER
19H1
_PERF_DATA_HEADER
perflib/_PERF_DATA_HEADER
PPERF_DATA_HEADER
perflib/PPERF_DATA_HEADER
PERF_DATA_HEADER
perflib/PERF_DATA_HEADER
c++
APIRef
kbSyntax
HeaderDef
Perflib.h
PERF_DATA_HEADER

PERF_DATA_HEADER structure

-description

Provides information about the PERF_DATA_HEADER block that contains the structure. A PERF_DATA_HEADER block corresponds to one query specification in a query, and consists of a PERF_DATA_HEADER structure followed by a sequence of PERF_COUNTER_HEADER blocks.

-struct-fields

-field dwTotalSize

The sum of the size of the PERF_DATA_HEADER structure and the sizes of all of the PERF_COUNTER_HEADER blocks in the PERF_DATA_HEADER block.

-field dwNumCounters

The number of PERF_COUNTER_HEADER blocks that the PERF_DATA_HEADER block contains.

-field PerfTimeStamp

The timestamp from a high-resolution clock.

-field PerfTime100NSec

The number of 100 nanosecond intervals since January 1, 1601, in Coordinated Universal Time (UTC).

-field PerfFreq

The frequency of a high-resolution clock.

-field SystemTime

The time at which data is collected by the provider.

-remarks

The ordering of the PERF_COUNTER_HEADER blocks is based on the Index member of the PERF_COUNTER_IDENTIFIER blocks that the PerfQueryCounterInfo function gets. Each PERF_COUNTER_HEADER block is 8-byte aligned, so the value of the dwTotalSize is a multiple of 8 bytes.

The timestamp information in the PERF_DATA_HEADER structure is required when you compute the display values of certain performance counters.

-see-also

PERF_COUNTER_HEADER

PerfQueryCounterInfo