msptiActivityFlushPeriod
Applicability
Product |
Supported (Yes/No) |
|---|---|
Atlas A3 Training Series Product |
Yes |
Atlas A2 Training Series Product/Atlas 800I A2 Inference Product |
Yes |
Atlas 200/500 A2 Inference Product |
Yes |
Atlas Inference Series Product |
x |
Atlas Training Series Product |
x |
Function 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.
Prototype
1 | msptiResult msptiActivityFlushPeriod(uint32_t time) |
Options
Option |
Input/Output |
Description |
|---|---|---|
time |
Input |
Interval for checking the full buffer, 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 check. |
Return Value
MSPTI_SUCCESS on success; else, failure.
Parent topic: Function Type