acldumpUnregCallback
Description
Deregisters the dump data callback function.
aclmdlInitDump, acldumpRegCallback, acldumpUnregCallback, and aclmdlFinalizeDump work together to obtain dump data through a callback function. The callback function registered through acldumpRegCallback needs to be implemented by users, and the implementation logic of the callback function must include the acquisition of the dump data and data length. The specific scenarios are exemplified as follows:
- Execute a model and obtain dump data through callback.
aclInit --> acldumpRegCallback --> aclmdlInitDump --> model loading --> model execution --> aclmdlFinalizeDump --> acldumpUnregCallback --> model unloading --> aclFinalize
- Execute two different models and obtain dump data through callback. In this context, as long as the callback function is not deregistered by calling acldumpUnregCallback, you can obtain the dump data of both models through the callback function.
aclInit --> acldumpRegCallback --> aclmdlInitDump --> model 1 loading --> model 1 execution -->--> model 2 loading --> model 2 execution --> aclmdlFinalizeDump --> model unloading --> acldumpUnregCallback --> aclFinalize
Restrictions
acldumpUnregCallback must be used together with acldumpRegCallback and is valid only after acldumpRegCallback is called.
Prototype
void acldumpUnregCallback()
Parameters
None
Returns
None
Parent topic: Model Execution