Click here to Skip to main content
15,892,674 members
Articles / Programming Languages / C++

Buffer Pool \ Object Pool

Rate me:
Please Sign up or sign in to vote.
4.50/5 (18 votes)
18 Jan 20035 min read 128K   3.2K   79  
An article on optimization of the use of dynamic memory.
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by Demo.rc
//
#define IDM_ABOUTBOX                    0x0010
#define IDD_ABOUTBOX                    100
#define IDS_ABOUTBOX                    101
#define IDD_DEMO_DIALOG                 102
#define IDR_MAINFRAME                   128
#define IDC_BUFFER_POOL_PROGRESS        1000
#define IDC_REGULAR_ALLOCATION_PROGRESS 1001
#define IDC_TEST_BUTTON                 1002
#define IDC_BP_FREE_STATIC              1003
#define IDC_BP_ALLOCATE_STATIC          1004
#define IDC_REG_FREE_STATIC             1005
#define IDC_REG_ALLOCATE_STATIC         1006
#define IDC_BP_AV_TIME_STATIC           1013
#define IDC_REG_AV_TIME_STATIC          1014
#define IDC_TEST_BP_BUTTON              1015
#define IDC_TEST_GLOBAL_BUTTON          1016
#define IDC_BP_TOTAL_TIME_STATIC        1017
#define IDC_REG_TOTAL_TIME_STATIC       1018
#define IDC_BUFFERS_SIZE_EDT            1019
#define IDC_MAXIMUM_BUFFERS_EDT         1020
#define IDC_NUM_OF_OPERATIONS_EDT       1021
#define IDC_NUM_OF_THREADS_EDT          1022
#define IDC_NUM_OF_SEGMENTS_START_EDT   1023
#define IDC_PRECENT_FOR_DELETION_EDT    1024
#define IDC_NUM_OF_SEGMENTS_MIN_EDT     1025
#define IDC_NUM_OF_BUFFERS_PER_SEGMENTS_EDT 1026
#define IDC_NUM_OF_SEGMENTS_MAX_EDT     1027

// Next default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE        129
#define _APS_NEXT_COMMAND_VALUE         32771
#define _APS_NEXT_CONTROL_VALUE         1023
#define _APS_NEXT_SYMED_VALUE           101
#endif
#endif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
Israel Israel
4 years expirience coding C++ with MFC & STL and coding C for Windows XP/2K internals (Drivers).

I Love what I do.

For pastime activities:
Fun & Games

Comments and Discussions