文件名称:MemoryPool_test
- 所属分类:
- Windows编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 16kb
- 下载次数:
- 0次
- 提 供 者:
- jam****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
其大体的思想是,建立16个MemPool,<=8字节的内存申请由0号MemPool分配,<=16字节的内存申请由1号MemPool分配,<=24字节的内存有2号MemPool分配,以此类推。最后,>128字节的内存申请由普通的malloc分配-The general idea is to establish 16 MemPool, < = 8 bytes of memory 0 MemPool by the distribution of applications, " applications = 16 bytes of memory allocated by the the 1st MemPool," = 24 bytes of memory are on the 2nd MemPool distribution, and so on. Finally,> 128 bytes of memory allocation application by the ordinary malloc
(系统自动生成,下载前可以参看下载内容)
下载文件列表
MemoryPool_test
...............\High_Time.cpp
...............\High_Time.h
...............\MemoryBlock.cpp
...............\MemoryBlock.h
...............\MemoryPool.cpp
...............\MemoryPool.h
...............\MemoryPool_test.dsp
...............\MemoryPool_test.dsw
...............\MemoryPool_test.sln
...............\MemoryPool_test.suo
...............\MemoryPool_test.vcproj
...............\MemoryPool_test.vcproj.WIN-UGOKMLI6A74.Administrator.user
...............\MemoryPool_test.vcproj.ZQ.Administrator.user
...............\MyMemoryPool.cpp
...............\MyMemoryPool.h
...............\User.cpp
...............\High_Time.cpp
...............\High_Time.h
...............\MemoryBlock.cpp
...............\MemoryBlock.h
...............\MemoryPool.cpp
...............\MemoryPool.h
...............\MemoryPool_test.dsp
...............\MemoryPool_test.dsw
...............\MemoryPool_test.sln
...............\MemoryPool_test.suo
...............\MemoryPool_test.vcproj
...............\MemoryPool_test.vcproj.WIN-UGOKMLI6A74.Administrator.user
...............\MemoryPool_test.vcproj.ZQ.Administrator.user
...............\MyMemoryPool.cpp
...............\MyMemoryPool.h
...............\User.cpp