inline static void update_xmalloc_stat_free(uint32_t handle, size_t __n) { ATOM_SUB(&_used_memory, __n); ATOM_DEC(&_memory_block); ssize_t* allocated = get_allocated_field(handle); if(allocated) { ATOM_SUB(allocated, __n); } }
void SimManager::decr_epoch_txn_cnt() { ATOM_SUB(epoch_txn_cnt,1); }
void SimManager::dec_inflight_cnt() { ATOM_SUB(inflight_cnt,1); }