D3D11_QUERY_DATA_TIMESTAMP_DISJOINT structure (d3d11.h)
Query information about the reliability of a timestamp query.
Syntax
typedef struct D3D11_QUERY_DATA_TIMESTAMP_DISJOINT {
UINT64 Frequency;
BOOL Disjoint;
} D3D11_QUERY_DATA_TIMESTAMP_DISJOINT;
Members
Frequency
Type: UINT64
How frequently the GPU counter increments in Hz.
Disjoint
Type: BOOL
If this is TRUE, something occurred in between the query's ID3D11DeviceContext::Begin and ID3D11DeviceContext::End calls that caused the timestamp counter to become discontinuous or disjoint, such as unplugging the AC cord on a laptop, overheating, or throttling up/down due to laptop savings events. The timestamp returned by ID3D11DeviceContext::GetData for a timestamp query is only reliable if Disjoint is FALSE.
Remarks
For a list of query types see D3D11_QUERY.
Requirements
Requirement | Value |
---|---|
Header | d3d11.h |