# 6.88. CUpti_ActivitySharedAccess

struct CUpti_ActivitySharedAccess

  The activity record for source-level shared access.

  This activity records the locations of the shared accesses in the source (CUPTI_ACTIVITY_KIND_SHARED_ACCESS).

  Public Members

  CUpti_ActivityKind kind

    The activity record kind, must be CUPTI_ACTIVITY_KIND_SHARED_ACCESS.

  CUpti_ActivityFlag flags

    The properties of this shared access.

  uint32_t sourceLocatorId

    The ID for source locator.

  uint32_t correlationId

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

  uint32_t functionId

    Correlation ID with global/device function name.

  uint32_t pcOffset

    The pc offset for the access.

  uint64_t threadsExecuted

    This increments each time when this instruction is executed by number of threads that executed this instruction with predicate and condition code evaluating to true.

  uint64_t sharedTransactions

    The total number of shared memory transactions generated by this access.

  uint64_t theoreticalSharedTransactions

    The minimum number of shared memory transactions possible based on the access pattern.

  uint32_t executed

    The number of times this instruction was executed per warp.

    It will be incremented when at least one of thread among warp is active with predicate and condition code evaluating to true.

  uint32_t pad

    Undefined.

    Reserved for internal use.