6.175. CUpti_RangeProfiler_GetCounterDataSize_Params

struct CUpti_RangeProfiler_GetCounterDataSize_Params

cuptiRangeProfilerGetCounterDataSize 的参数。

公共成员

size_t structSize

[输入] 数据结构的大小。

void *pPriv

[输入] 设置为 NULL。

CUpti_RangeProfiler_Object *pRangeProfilerObject

[输入] 周期性采样器对象。

const char **pMetricNames

[输入] 要收集的指标的名称。

size_t numMetrics

[输入] 要收集的指标的数量。

size_t maxNumOfRanges

[输入] 计数器数据图像中要存储的最大范围数。

uint32_t maxNumRangeTreeNodes

[输入] RangeTree 节点的最大数量;必须 >= maxNumOfRanges

size_t counterDataSize

[输出] 计数器数据图像的大小。