6.178. CUpti_RangeProfiler_SetConfig_Params

struct CUpti_RangeProfiler_SetConfig_Params

cuptiRangeProfilerSetConfig 的参数。

公共成员

size_t structSize

[in] 数据结构的大小。

void *pPriv

[in] 设置为 NULL。

CUpti_RangeProfiler_Object *pRangeProfilerObject

[in] 范围分析器对象。

size_t configSize

[in] 配置映像的大小。

const uint8_t *pConfig

[in] 配置映像。

size_t counterDataImageSize

[in] 计数器数据映像的大小。

uint8_t *pCounterDataImage

[in] 计数器数据映像。

CUpti_ProfilerRange range

[in] 分析范围模式。

CUpti_ProfilerReplayMode replayMode

[in] 重放模式。

size_t maxRangesPerPass

[in] 一个 Pass 中可以分析的最大范围数。

uint16_t numNestingLevels

[in] 要分析的嵌套级别数。对于自动范围模式,应设置为 1。

uint16_t minNestingLevel

[in] 要分析的最小嵌套级别。

size_t passIndex

[in] 重放会话的 Pass 索引。

uint16_t targetNestingLevel

[in] 重放会话的目标嵌套级别。