Obtain current usage statistics for rollback buffer
typedef struct mco_rollback_buf_info_t_ { uint4 n_pages; // - total number of pages copied to the buffer uint4 n_free_pages; // - number of copied free pages } mco_rollback_buf_info_t; MCO_RET mco_rollback_buf_info(mco_trans_h t, mco_rollback_buf_info_t *rb_info);
t | Transaction handle |
rb_info | Address of the output statistics structure |
Obtains usage statistics (total number of pages copied to the buffer and number of copied free pages) for a real-time transaction
MCO_S_OK | Statistics obtained successfully |
MCO_E_INTERRUPTED | Transaction was interrupted by timer, callback or another transaction |