예제 #1
0
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);
	}
}
예제 #2
0
void SimManager::decr_epoch_txn_cnt() {
  ATOM_SUB(epoch_txn_cnt,1);
}
예제 #3
0
void SimManager::dec_inflight_cnt() {
  ATOM_SUB(inflight_cnt,1);
}