msptiActivityExternalCorrelation¶
msptiActivityExternalCorrelation is the structure corresponding to the Activity Record type MSPTI_ACTIVITY_KIND_EXTERNAL_CORRELATION. It is used to associate with the Activity Record. The definition is as follows:
typedef struct {
msptiActivityKind kind; // Activity Record type MSPTI_ACTIVITY_KIND_EXTERNAL_CORRELATION
msptiExternalCorrelationKind externalKind; // Type of the external API associated with the record
uint64_t externalId; // ID of the associated external API
uint64_t correlationId; // ID of the associated CANN API.
} msptiActivityExternalCorrelation;