msptiBuffersCallbackCompleteFunc
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
Registers the callback function with MSPTI to release the data in the Activity Buffer. When using the activity API, a user (subscriber) needs to customize this function and register it with MSPTI. When the storage space of the activity buffer is full, MSPTI calls this function to notify the user to consume data in the activity buffer and release the memory space.
Prototype
1 | typedef void(*msptiBuffersCallbackCompleteFunc)(uint8_t *buffer, size_t size, size_t validSize) |
Options
Option |
Input/Output |
Description |
|---|---|---|
buffer |
Input |
Address of the activity buffer. |
size |
Input |
Size of the activity buffer, in bytes. |
validSize |
Input |
Size of the data recorded in the activity buffer, in bytes. |
Return Value
None.