msptiActivityKind
msptiActivityKind is an enumeration class of the msptiActivityEnable and msptiActivityDisable calls.
The MSPTI uses msptiActivityKind to classify all activity data that can be sampled. Each enumerated value corresponds to a structure type of activity data. The definition is as follows:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | typedef enum { MSPTI_ACTIVITY_KIND_INVALID = 0, // Invalid value. MSPTI_ACTIVITY_KIND_MARKER = 1, // Activity record type of the MSPTI marker capability (marking instantaneous events). The maximum number of makers is the maximum value of uint32_t. The call struct is msptiActivityMarker. MSPTI_ACTIVITY_KIND_KERNEL = 2, // Activity record type of compute operator information in the ACLNN scenario. The call struct is msptiActivityKernel. MSPTI_ACTIVITY_KIND_API = 3, // Activity record type of the ACLNN component information in the ACLNN scenario. The call struct is msptiActivityApi. MSPTI_ACTIVITY_KIND_HCCL = 4, // Activity record type of the HCCL communication operator information. The call struct is msptiActivityHccl. MSPTI_ACTIVITY_KIND_MEMORY, // Memory request (allocation or release). The call struct is msptiActivityMemory. MSPTI_ACTIVITY_KIND_MEMSET, // Memory setting. The call struct is msptiActivityMemset. MSPTI_ACTIVITY_KIND_MEMCPY, // Memory copy. The call struct is msptiActivityMemcpy. MSPTI_ACTIVITY_KIND_EXTERNAL_CORRELATION, // Correlation record between different APIs. The call struct is msptiActivityExternalCorrelation. MSPTI_ACTIVITY_KIND_COMMUNICATION, // Activity record type of the HCCL and LCCL communication operator information. The call struct is msptiActivityCommunication. MSPTI_ACTIVITY_KIND_COUNT, MSPTI_ACTIVITY_KIND_FORCE_INT = 0x7fffffff } msptiActivityKind; |
Parent topic: msptiActivityEnableMarkerDomain