跳转至

msptiActivityFlushPeriod

Supported Products

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 ×

Description

The system periodically checks whether there is a full buffer at the specified time. If there is a full buffer, the system reports the buffer.

Function Prototype

msptiResult msptiActivityFlushPeriod(uint32_t time)

Parameter Description

Table 1 Command-line options

Parameter Name

Input/Output

Description

time

Enter

.

Indicates the execution period of checking full buffers, in milliseconds. If the parameter is set to 0, the function of periodically checking the full buffer is disabled.

You are advised not to set the interval to a small value to prevent frequent checks.

Return Values

MSPTI_SUCCESS indicates that the operation is successful. Other values indicate that the operation fails.