Use the function described below to unload statistics and a probability profile from a node.
int qsmm_node_unload (qsmm_t model, qsmm_sig_t node) ¶This function performs the following operations on a node of a multinode model:
The argument node specifies the identifier of the node.
The function returns a non-negative value on success or a negative error code on failure. Currently, the function can return the following error codes.
QSMM_ERR_NOTFOUNDA node with identifier node does not exist.
QSMM_ERR_UNTIMELYA model instance does not exist.
QSMM_ERR_PROFSRCPThe node is a probability profile source for other nodes. See Memory Efficient Cloning the Probability Profile, for more information on this mode.
QSMM_ERR_NOMEMThere was not enough memory to perform the operation.
Error QSMM_ERR_NOMEM can leave the probability profile of the node or its statistics in inconsistent state.
If after removing a reason of the error a repeated call to this function succeeds, the probability profile and statistics become unloaded.