c++ Programming Glossary: allocsize
Does multithreading emphasize memory fragmentation? http://stackoverflow.com/questions/5875989/does-multithreading-emphasize-memory-fragmentation int j 0 j NUM_ALLOCATIONS j new allocation const size_t allocSize allocations myId 100 j NUM_PRE_ALLOCS char pnt NULL if USE_NEW.. j NUM_PRE_ALLOCS char pnt NULL if USE_NEW pnt new char allocSize else pnt char malloc allocSize pointers.push_back std make_pair.. if USE_NEW pnt new char allocSize else pnt char malloc allocSize pointers.push_back std make_pair pnt allocSize totalAllocBytes..
|