Struct MetricsResources

Struct Documentation

struct MetricsResources

Struct that holds a composite metrics source and associated vector of graphics logical device handles and query managers created using them.

Note

All are associated with the same graphics API.

Note

Each contained query manager uses one of the metrics sources in the composite metrics source.

Note

The composite metrics source owns the lifetime of the metrics sources. They are not owned by the query managers.

Public Members

metrics::IMetricsSourceComposite *metricsSourceComposite

Pointer to a composite metrics source containing metrics sources used by query managers in deviceQueryManagersVector. It owns the lifetime of the metrics sources. Valid if non-null.

DeviceQueryManagersVector deviceQueryManagersVector

Vector of logical device handles/pointers and associated query managers, sorted from lowest device handle to highest. If metricsSourceComposite is non-null, its size will be positive. Otherwise, its size will be zero.