HcclData

HcclData refers to the struct of the HcclMonitor.start call. The definition is as follows:

1
2
3
4
5
6
7
8
9
class HcclData:
	self.kind   # Activity record type MSPTI_ACTIVITY_KIND_HCCL.
	self.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.
	self.end   # End timestamp of the communication operator execution, in ns. If both the start and end timestamps are 0, the timestamp information of communication operators cannot be profiled.
	self.device_id   # ID of the device where the communication operator runs.
	self.stream_id   # Stream ID of the communication operator.
	self.bandwidth   # Runtime bandwidth of the communication operator, in GB/s.
	self.name   # Communication operator name.
	self.comm_name   # Communicator name.