Diligent::QueryDataDuration struct

Duration query data. This structure is filled by IQuery::GetData() for Diligent::QUERY_TYPE_DURATION query type.

Contents

Public variables

enum QUERY_TYPE Type
Query type - must be Diligent::QUERY_TYPE_DURATION.
Uint64 Duration
The number of high-frequency counter ticks between BeginQuery and EndQuery calls.
Uint64 Frequency
The counter frequency, in Hz (ticks/second). If there was an error while getting the timestamp, this value will be 0.