跳转至

MstxMonitor.flush_all

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 products ×

Function Usage

The user (subscriber) calls the callback function to transfer all activity data (including communication, kernel, and msTX data) from the buffer to the user memory.

Function Prototype

def flush_all(cls) -> MsptiResult:

Parameter Description

None

Returns

MSPTI_SUCCESS is returned to indicate that the operation is successful.