msptiActivityFlushAll
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
A user (subscriber) calls the callback function to write all activity data in the buffer to the user memory.
This API is a synchronous API and is called in a sub-thread after all activity data is consumed.
Prototype
1 | msptiResult msptiActivityFlushAll(uint32_t flag) |
Options
Option |
Input/Output |
Description |
|---|---|---|
flag |
Input |
Sets the flush action. This parameter is not supported. |
Return Value
MSPTI_SUCCESS indicates a successful operation, while MSPTI_ERROR_NOT_INITIALIZED indicates a failure because MSPTI has not been initialized.
Parent topic: Function Type