HcclMonitor.start
Function |
def start(self, cb: Callable[[HcclData], None]) -> MsptiResult: |
|---|---|
Function Description |
Marks the start of the communication operator profiling. |
Input |
cb: Callback function, used to transfer the profiled communication data. The HcclData structure is called. |
Return Value |
MsptiResult.MSPTI_SUCCESS indicates a successful operation, while MsptiResult.MSPTI_ERROR_INVALID_PARAMETER indicates a failure caused by an incorrect callback function type. |
Parent topic: HcclMonitor