msptiActivityHccl

msptiActivityHccl is the struct of the activity record type MSPTI_ACTIVITY_KIND_HCCL. The definition is as follows:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
typedef struct PACKED_ALIGNMENT {
	msptiActivityKind kind;   // Activity record type MSPTI_ACTIVITY_KIND_HCCL.
	uint64_t start;   // Start timestamp of the communication operator execution on the NPU device, in ns. If both the start and end timestamps are 0, the timestamp information of communication operators cannot be profiled.
	uint64_t end;   // End timestamp of communication operator execution, in ns. If both the start and end timestamps are 0, the timestamp information of communication operators cannot be profiled.
	struct {
		uint32_t deviceId;   // ID of the device where the communication operator runs.
		uint32_t streamId;   // Stream ID of the communication operator.
	} ds;
	uint64_t bandWidth;   // Runtime bandwidth of the communication operator, in GB/s.
	const char *name;   // Communication operator name.
	const char *commName;   // Communicator name.
} msptiActivityHccl;