HcclMonitor.start
Product Support
Note: For details about Ascend product models, see Ascend Product Models.
| Product Type | Supported |
|---|---|
| Ascend 950 products | √ |
| Atlas A3 training products/Atlas A3 inference products | √ |
| Atlas A2 training products/Atlas A2 inference products | √ |
| Atlas 200I/500 A2 inference products | √ |
| Atlas inference products | × |
| Atlas training series products | × |
Function Usage
Marks the start of the communication operator profiling.
Function Prototype
def start(self, cb: Callable[[HcclData], None]) -> MsptiResult:
Parameter Description
is used to transfer the collected communication data. The HcclData structure is called. |
Return Values
If MsptiResult.MSPTI_SUCCESS is returned, the operation is successful. If MsptiResult.MSPTI_ERROR_INVALID_PARAMETER is returned, the callback function type is incorrect, indicating that the operation fails.