# 6.22. CUpti_ActivityGlobalAccess2

struct CUpti_ActivityGlobalAccess2

  The activity record for source-level global access.

  (deprecated in CUDA 9.0)

  This activity records the locations of the global accesses in the source (CUPTI_ACTIVITY_KIND_GLOBAL_ACCESS). Global access activities are now reported using the CUpti_ActivityGlobalAccess3 activity record.

  Public Members

  CUpti_ActivityKind kind

    The activity record kind, must be CUPTI_ACTIVITY_KIND_GLOBAL_ACCESS.

  CUpti_ActivityFlag flags

    The properties of this global 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 l2_transactions

    The total number of 32 bytes transactions to L2 cache generated by this access.

  uint64_t theoreticalL2Transactions

    The minimum number of L2 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.