Struct QueryReport

Struct Documentation

struct QueryReport

Struct with a report that describes a specfic query that was requested, including its quality which can be determined by examining the state of the set/cleared flags.

Note

Available flags are defined by the associated IMetricGroup's QueryReportDescription() function.

Note

Consider adding the following data to the report, and indicate in QueryReportDescription which data is supported/not based on the type of MetricsSource and QueryManager is involved if they cannot be obtained for all of them (MD API based or graphics API based).

//!             uint32_t cpuId;
//!             uint64_t cpuBeginTimestamp;
//!             uint64_t gpuCoreFrequency;
//!             uint64_t gpuBeginTimestamp;
//!

Public Members

uint32_t index

Query index in the range [0, number of times BeginQuery & EndQuery were called - 1].

uint64_t flags

All flags reported for the query. Available flags are defined by the associated QueryReportDescription struct.