Diligent Engine
 
Loading...
Searching...
No Matches
Diligent::QueryDataTimestamp Struct Reference

Timestamp query data. More...

#include <Query.h>

Public Attributes

enum QUERY_TYPE Type = QUERY_TYPE_TIMESTAMP
 Query type - must be Diligent::QUERY_TYPE_TIMESTAMP.
 
Uint64 Counter = 0
 The value of a high-frequency counter.
 
Uint64 Frequency = 0
 

Detailed Description

Timestamp query data.

This structure is filled by IQuery::GetData() for Diligent::QUERY_TYPE_TIMESTAMP query type.

Member Data Documentation

◆ Frequency

Uint64 Diligent::QueryDataTimestamp::Frequency = 0

The counter frequency, in Hz (ticks/second). If there was an error while getting the timestamp, this value will be 0.