Duration query data. More...
#include <Query.h>
Public Attributes | |
enum QUERY_TYPE | Type = QUERY_TYPE_DURATION |
Query type - must be Diligent::QUERY_TYPE_DURATION. | |
Uint64 | Duration = 0 |
Uint64 | Frequency = 0 |
Duration query data.
This structure is filled by IQuery::GetData() for Diligent::QUERY_TYPE_DURATION query type.
Uint64 Diligent::QueryDataDuration::Duration = 0 |
The number of high-frequency counter ticks between BeginQuery and EndQuery calls.
Uint64 Diligent::QueryDataDuration::Frequency = 0 |
The counter frequency, in Hz (ticks/second). If there was an error while getting the timestamp, this value will be 0.