mdp->heapstats.chunks_used++;
mdp->heapstats.bytes_used += blocks * BLOCKSIZE;
mdp->heapstats.bytes_free -= blocks * BLOCKSIZE;
}
//printf("(%s) Done mallocing. Result is %p\n",xbt_thread_self_name(),result);fflush(stdout);
mdp->heapstats.chunks_used++;
mdp->heapstats.bytes_used += blocks * BLOCKSIZE;
mdp->heapstats.bytes_free -= blocks * BLOCKSIZE;
}
//printf("(%s) Done mallocing. Result is %p\n",xbt_thread_self_name(),result);fflush(stdout);