CUpti_ActivityPCSampling2 Struct Reference
[CUPTI Activity API]

The activity record for PC sampling. (deprecated in CUDA 9.0). More...


Data Fields

uint32_t correlationId
CUpti_ActivityFlag flags
uint32_t functionId
CUpti_ActivityKind kind
uint32_t latencySamples
uint32_t pcOffset
uint32_t samples
uint32_t sourceLocatorId
CUpti_ActivityPCSamplingStallReason stallReason


Detailed Description

This activity records information obtained by sampling PC (CUPTI_ACTIVITY_KIND_PC_SAMPLING). PC sampling activities are now reported using the CUpti_ActivityPCSampling3 activity record.

Field Documentation

The correlation ID of the kernel to which this result is associated.

The properties of this instruction.

Correlation ID with global/device function name

The activity record kind, must be CUPTI_ACTIVITY_KIND_PC_SAMPLING.

Number of times the PC was sampled with the stallReason in the record. These samples indicate that no instruction was issued in that cycle from the warp scheduler from where the warp was sampled. Field is valid for devices with compute capability 6.0 and higher

The pc offset for the instruction.

Number of times the PC was sampled with the stallReason in the record. The same PC can be sampled with different stall reasons. The count includes latencySamples.

The ID for source locator.

Current stall reason. Includes one of the reasons from CUpti_ActivityPCSamplingStallReason


Generated on Tue Jul 12 11:16:29 2022 for Cupti by  doxygen 1.5.8