Skip to main content
`Ctrl`+`K`

# 7.175. CUpti_Profiler_Host_GetMetricsInSinglePassSet_Params

struct CUpti_Profiler_Host_GetMetricsInSinglePassSet_Params

  Params for cuptiProfilerHostGetMetricsInSinglePassSet.

  Public Members

  size_t structSize

    [in] Size of the data structure.

  void *pPriv

    [in] Assign to NULL

  const char *pChipName

    [in] the chip name for which the metrics in the single pass metric set will be queried

  const char *pSinglePassSetName

    [in] the single pass metric set name for which the metrics will be queried

  size_t numOfMetricsInSinglePassSet

    [inout] In Query mode, this will be returned as the number of metrics in the single pass metric set In Data retrieval mode, this must be set to the value returned in the query mode

  size_t metricsBufferSize

    [inout] In Query mode, this will be returned as the buffer size needed for the metrics in the single pass metric set In Data retrieval mode, this must be set to the value returned in the query mode

  size_t *pMetricsIndicesBuffer

    [out] When set to NULL, the function call will treat it as query mode, otherwise it will treat it as data retrieval mode. User need to allocate the buffer for the metrics indices in the single pass metric set. The buffer size should be numOfMetricsInSinglePassSet * sizeof(size_t).

  uint8_t *pMetricsBuffer

    [out] When set to NULL, the function call will treat it as query mode, otherwise it will treat it as data retrieval mode. User need to allocate the buffer for the metrics in the single pass metric set. The buffer size should be metricsBufferSize bytes.