#include "ArrayPool.hpp"#include "WOPool.hpp"#include "RWPool.hpp"#include <NdbTick.h>#include "ndbd_malloc_impl.hpp"#include "SimulatedBlock.hpp"#include <EventLogger.hpp>#include <SimBlockList.hpp>Include dependency graph for bench_pool.cpp:

Go to the source code of this file.
Classes | |
| struct | BB |
| struct | Rec< sz > |
Defines | |
| #define | CALLGRIND_TOGGLE_COLLECT() |
| #define | T_TEST_AP (1 << 0) |
| #define | T_TEST_WO (1 << 1) |
| #define | T_TEST_RW (1 << 2) |
| #define | T_SEIZE (1 << 0) |
| #define | T_RELEASE (1 << 1) |
| #define | T_G_RELEASE (1 << 2) |
| #define | T_R_RELEASE (1 << 3) |
| #define | T_R_G_RELEASE (1 << 4) |
| #define | T_MIX (1 << 5) |
| #define | T_GETPTR (1 << 6) |
| #define | T_FIFO (1 << 7) |
| #define | INSTANCE(X) |
Typedefs | |
| typedef Rec< 32 > | Rec32 |
| typedef Rec< 36 > | Rec36 |
| typedef Rec< 56 > | Rec56 |
| typedef Rec< 224 > | Rec224 |
Functions | |
| template<typename T> | |
| void | init (ArrayPool< T > &pool, Uint32 cnt) |
| template<typename T> | |
| void | init (RecordPool< T, WOPool > &pool, Uint32 cnt) |
| template<typename T> | |
| void | init (RecordPool< T, RWPool > &pool, Uint32 cnt) |
| template<typename T, typename R> | |
| void | test_pool (R &pool, Uint32 cnt, Uint32 loops) |
| template<typename T> | |
| void | test_ap (Uint32 cnt, Uint32 loop) |
| template<typename T> | |
| void | test_rw (Uint32 cnt, Uint32 loop) |
| template<typename T> | |
| void | test_wo (Uint32 cnt, Uint32 loop) |
| int | main (int argc, char **argv) |
| void | childExit (int code, Uint32 currentStartPhase) |
| void | childAbort (int code, Uint32 currentStartPhase) |
| void | childReportError (int error) |
| INSTANCE (Rec32) | |
| INSTANCE (Rec36) | |
| INSTANCE (Rec56) | |
| INSTANCE (Rec224) | |
Variables | |
| const char * | test_names [] |
| Uint32 | pools = ~0 |
| Uint32 | tests = ~0 |
| Uint32 | records = ~0 |
| Uint32 | sizes = 7 |
| unsigned int | seed |
| Ndbd_mem_manager | mm |
| Configuration | cfg |
| Block_context | ctx = { cfg, mm } |
| BB | block (DBACC, ctx) |
| EventLogger | g_eventLogger |
| Uint32 | g_currentStartPhase |
| #define CALLGRIND_TOGGLE_COLLECT | ( | ) |
| #define INSTANCE | ( | X | ) |
Value:
template void test_ap<X>(unsigned, unsigned);\ template void test_wo<X>(unsigned, unsigned);\ template void test_rw<X>(unsigned, unsigned);\ template void test_pool<X, ArrayPool<X> >(ArrayPool<X>&, unsigned, unsigned);\ template void test_pool<X, RecordPool<X, RWPool> >(RecordPool<X, RWPool>&, unsigned, unsigned); \ template void test_pool<X, RecordPool<X, WOPool> >(RecordPool<X, WOPool>&, unsigned, unsigned);\ template void init<X>(ArrayPool<X>&, unsigned);\ template void init<X>(RecordPool<X, RWPool>&, unsigned);\ template void init<X>(RecordPool<X, WOPool>&, unsigned)
Definition at line 591 of file bench_pool.cpp.
| #define T_FIFO (1 << 7) |
Definition at line 42 of file bench_pool.cpp.
| #define T_G_RELEASE (1 << 2) |
| #define T_GETPTR (1 << 6) |
Definition at line 41 of file bench_pool.cpp.
| #define T_MIX (1 << 5) |
| #define T_R_G_RELEASE (1 << 4) |
| #define T_R_RELEASE (1 << 3) |
| #define T_RELEASE (1 << 1) |
| #define T_SEIZE (1 << 0) |
| #define T_TEST_AP (1 << 0) |
| #define T_TEST_RW (1 << 2) |
| #define T_TEST_WO (1 << 1) |
Definition at line 390 of file bench_pool.cpp.
Definition at line 387 of file bench_pool.cpp.
Definition at line 388 of file bench_pool.cpp.
Definition at line 389 of file bench_pool.cpp.
| void childAbort | ( | int | code, | |
| Uint32 | currentStartPhase | |||
| ) |
Definition at line 557 of file bench_pool.cpp.
References abort(), child_info_file_r, child_info_file_w, and writeChildInfo().
00558 { 00559 abort(); 00560 }
Here is the call graph for this function:

| void childExit | ( | int | code, | |
| Uint32 | currentStartPhase | |||
| ) |
Definition at line 552 of file bench_pool.cpp.
References abort(), child_info_file_r, child_info_file_w, exit, and writeChildInfo().
00553 { 00554 abort(); 00555 }
Here is the call graph for this function:

| void childReportError | ( | int | error | ) |
Definition at line 562 of file bench_pool.cpp.
References abort().
Referenced by ErrorReporter::handleAssert(), and handler_shutdown().
00563 { 00564 abort(); 00565 }
Here is the call graph for this function:

Here is the caller graph for this function:

| void init | ( | RecordPool< T, RWPool > & | pool, | |
| Uint32 | cnt | |||
| ) |
Definition at line 89 of file bench_pool.cpp.
References yaSSL::block, RecordPool< T, P >::init(), and Pool_context::m_block.
00090 { 00091 Pool_context pc; 00092 pc.m_block = █ 00093 pool.init(0x2001, pc); 00094 }
Here is the call graph for this function:

| void init | ( | RecordPool< T, WOPool > & | pool, | |
| Uint32 | cnt | |||
| ) |
Definition at line 80 of file bench_pool.cpp.
References yaSSL::block, Pool_context::m_block, and RecordPool< T, P >::wo_pool_init().
00081 { 00082 Pool_context pc; 00083 pc.m_block = █ 00084 pool.wo_pool_init(0x2001, pc); 00085 }
Here is the call graph for this function:

Definition at line 73 of file bench_pool.cpp.
References ArrayPool< T >::setSize().
00074 { 00075 pool.setSize(cnt + 1, true); 00076 }
Here is the call graph for this function:

| INSTANCE | ( | Rec224 | ) |
| INSTANCE | ( | Rec56 | ) |
| INSTANCE | ( | Rec36 | ) |
| INSTANCE | ( | Rec32 | ) |
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
Definition at line 423 of file bench_pool.cpp.
References abort(), atoi(), Ndbd_mem_manager::init(), Resource_limit::m_max, Resource_limit::m_min, Resource_limit::m_resource_id, mm, ndbout_c(), pools, records, seed, Ndbd_mem_manager::set_resource_limit(), sizes, strcmp(), strlen(), T_TEST_AP, T_TEST_RW, T_TEST_WO, test_names, and tests.
00424 { 00425 Uint32 loops = 300000; 00426 for (Uint32 i = 1 ; i<argc ; i++) 00427 { 00428 if (argc > i+1 && strcmp(argv[i], "-pools") == 0) 00429 { 00430 pools = 0; 00431 for (Uint32 j = 0; j<strlen(argv[i+1]); j++) 00432 { 00433 char c = argv[i+1][j]; 00434 if (c >= '0' && c <= '9') 00435 pools |= 1 << (c - '0'); 00436 else 00437 pools |= 1 << (10 + (c - 'a')); 00438 } 00439 } 00440 else if (argc > i+1 && strcmp(argv[i], "-tests") == 0) 00441 { 00442 tests = 0; 00443 for (Uint32 j = 0; j<strlen(argv[i+1]); j++) 00444 { 00445 char c = argv[i+1][j]; 00446 if (c >= '0' && c <= '9') 00447 tests |= 1 << (c - '0'); 00448 else 00449 tests |= 1 << (10 + (c - 'a')); 00450 } 00451 } 00452 else if (argc > i+1 && strcmp(argv[i], "-sizes") == 0) 00453 { 00454 sizes = 0; 00455 for (Uint32 j = 0; j<strlen(argv[i+1]); j++) 00456 { 00457 char c = argv[i+1][j]; 00458 if (c >= '0' && c <= '9') 00459 sizes |= 1 << (c - '0'); 00460 else 00461 sizes |= 1 << (10 + (c - 'a')); 00462 } 00463 } 00464 else if (argc > i+1 && strcmp(argv[i], "-records") == 0) 00465 { 00466 records = 0; 00467 for (Uint32 j = 0; j<strlen(argv[i+1]); j++) 00468 { 00469 char c = argv[i+1][j]; 00470 if (c >= '0' && c <= '9') 00471 records |= 1 << (c - '0'); 00472 else 00473 records |= 1 << (10 + (c - 'a')); 00474 } 00475 } 00476 else if (argc > i+1 && strcmp(argv[i], "-loop") == 0) 00477 { 00478 loops = atoi(argv[i+1]); 00479 } 00480 } 00481 00482 Resource_limit rl; 00483 rl.m_min = 0; 00484 rl.m_max = 10000; 00485 rl.m_resource_id = 0; 00486 mm.set_resource_limit(rl); 00487 if(!mm.init()) 00488 { 00489 abort(); 00490 } 00491 00492 seed = time(0); 00493 Uint32 sz = 0; 00494 Uint32 cnt = 256; 00495 00496 printf("pool ; rs ; ws"); 00497 for (Uint32 i = 0; test_names[i] && i<31; i++) 00498 if (tests & (1 << i)) 00499 printf(" ; %s", test_names[i]); 00500 ndbout_c(""); 00501 00502 while(cnt <= 1000000) 00503 { 00504 Uint32 loop = 768 * loops / cnt; 00505 if (sizes & (1 << sz)) 00506 { 00507 if (records & 1) 00508 { 00509 if (pools & T_TEST_AP) 00510 test_ap<Rec32>(cnt, loop); 00511 if (pools & T_TEST_WO) 00512 test_wo<Rec32>(cnt, loop); 00513 if (pools & T_TEST_RW) 00514 test_rw<Rec32>(cnt, loop); 00515 } 00516 if (records & 2) 00517 { 00518 if (pools & T_TEST_AP) 00519 test_ap<Rec36>(cnt, loop); 00520 if (pools & T_TEST_WO) 00521 test_wo<Rec36>(cnt, loop); 00522 if (pools & T_TEST_RW) 00523 test_rw<Rec36>(cnt, loop); 00524 } 00525 if (records & 4) 00526 { 00527 if (pools & T_TEST_AP) 00528 test_ap<Rec56>(cnt, loop); 00529 if (pools & T_TEST_WO) 00530 test_wo<Rec56>(cnt, loop); 00531 if (pools & T_TEST_RW) 00532 test_rw<Rec56>(cnt, loop); 00533 } 00534 if (records & 8) 00535 { 00536 if (pools & T_TEST_AP) 00537 test_ap<Rec224>(cnt, loop); 00538 if (pools & T_TEST_WO) 00539 test_wo<Rec224>(cnt, loop); 00540 if (pools & T_TEST_RW) 00541 test_rw<Rec224>(cnt, loop); 00542 } 00543 } 00544 00545 cnt += (512 << sz); 00546 sz++; 00547 } 00548 }
Here is the call graph for this function:

Definition at line 393 of file bench_pool.cpp.
References init.
00394 { 00395 printf("AP ; %d ; %d", sizeof(T), (cnt * sizeof(T))>>10); fflush(stdout); 00396 ArrayPool<T> pool; 00397 init(pool, cnt); 00398 test_pool<T, ArrayPool<T> >(pool, cnt, loop); 00399 }
Definition at line 98 of file bench_pool.cpp.
References alloca(), assert, bzero, CALLGRIND_TOGGLE_COLLECT, Ptr< T >::i, NdbTick_CurrentMillisecond(), Ptr< T >::p, pos(), RNIL, seed, start(), stop(), T_G_RELEASE, T_MIX, T_R_G_RELEASE, T_R_RELEASE, T_RELEASE, T_SEIZE, and tests.
00099 { 00100 Ptr<T> ptr; 00101 Uint32 *arr = (Uint32*)alloca(cnt * sizeof(Uint32)); 00102 bzero(arr, cnt * sizeof(Uint32)); 00103 if (tests & T_SEIZE) 00104 { 00105 Uint64 sum = 0; 00106 for(Uint32 i = 0; i<loops; i++) 00107 { // seize 00108 Uint64 start = NdbTick_CurrentMillisecond(); 00109 CALLGRIND_TOGGLE_COLLECT(); 00110 for(Uint32 j = 0; j<cnt; j++) 00111 { 00112 bool b = pool.seize(ptr); 00113 arr[j] = ptr.i; 00114 ptr.p->do_stuff(); 00115 assert(b); 00116 } 00117 CALLGRIND_TOGGLE_COLLECT(); 00118 Uint64 stop = NdbTick_CurrentMillisecond(); 00119 00120 for(Uint32 j = 0; j<cnt; j++) 00121 { 00122 ptr.i = arr[j]; 00123 pool.getPtr(ptr); 00124 ptr.p->do_stuff(); 00125 pool.release(ptr.i); 00126 arr[j] = RNIL; 00127 } 00128 sum += (stop - start); 00129 } 00130 printf(" ; %lld", sum); fflush(stdout); 00131 } 00132 00133 if (tests & T_RELEASE) 00134 { // release 00135 Uint64 sum = 0; 00136 for(Uint32 i = 0; i<loops; i++) 00137 { 00138 for(Uint32 j = 0; j<cnt; j++) 00139 { 00140 bool b = pool.seize(ptr); 00141 arr[j] = ptr.i; 00142 ptr.p->do_stuff(); 00143 } 00144 00145 Uint64 start = NdbTick_CurrentMillisecond(); 00146 CALLGRIND_TOGGLE_COLLECT(); 00147 for(Uint32 j = 0; j<cnt; j++) 00148 { 00149 pool.release(arr[j]); 00150 arr[j] = RNIL; 00151 } 00152 CALLGRIND_TOGGLE_COLLECT(); 00153 Uint64 stop = NdbTick_CurrentMillisecond(); 00154 00155 sum += (stop - start); 00156 } 00157 printf(" ; %lld", sum); fflush(stdout); 00158 } 00159 00160 if (tests & T_G_RELEASE) 00161 { // getptr + release 00162 Uint64 sum = 0; 00163 for(Uint32 i = 0; i<loops; i++) 00164 { 00165 for(Uint32 j = 0; j<cnt; j++) 00166 { 00167 bool b = pool.seize(ptr); 00168 arr[j] = ptr.i; 00169 ptr.p->do_stuff(); 00170 } 00171 00172 Uint64 start = NdbTick_CurrentMillisecond(); 00173 CALLGRIND_TOGGLE_COLLECT(); 00174 for(Uint32 j = 0; j<cnt; j++) 00175 { 00176 pool.getPtr(ptr, arr[j]); 00177 ptr.p->do_stuff(); 00178 pool.release(ptr); 00179 arr[j] = RNIL; 00180 } 00181 CALLGRIND_TOGGLE_COLLECT(); 00182 Uint64 stop = NdbTick_CurrentMillisecond(); 00183 00184 sum += (stop - start); 00185 } 00186 printf(" ; %lld", sum); fflush(stdout); 00187 } 00188 00189 if (tests & T_R_RELEASE) 00190 { // release reverse 00191 Uint64 sum = 0; 00192 for(Uint32 i = 0; i<loops; i++) 00193 { 00194 for(Uint32 j = 0; j<cnt; j++) 00195 { 00196 bool b = pool.seize(ptr); 00197 arr[j] = ptr.i; 00198 ptr.p->do_stuff(); 00199 } 00200 00201 Uint64 start = NdbTick_CurrentMillisecond(); 00202 CALLGRIND_TOGGLE_COLLECT(); 00203 for(Uint32 j = 0; j<cnt; j++) 00204 { 00205 pool.release(arr[cnt - j - 1]); 00206 arr[cnt - j - 1] = RNIL; 00207 } 00208 CALLGRIND_TOGGLE_COLLECT(); 00209 Uint64 stop = NdbTick_CurrentMillisecond(); 00210 00211 sum += (stop - start); 00212 } 00213 printf(" ; %lld", sum); fflush(stdout); 00214 } 00215 00216 if (tests & T_R_G_RELEASE) 00217 { // getptr + release 00218 Uint64 sum = 0; 00219 for(Uint32 i = 0; i<loops; i++) 00220 { 00221 for(Uint32 j = 0; j<cnt; j++) 00222 { 00223 bool b = pool.seize(ptr); 00224 arr[j] = ptr.i; 00225 ptr.p->do_stuff(); 00226 } 00227 00228 Uint64 start = NdbTick_CurrentMillisecond(); 00229 CALLGRIND_TOGGLE_COLLECT(); 00230 for(Uint32 j = 0; j<cnt; j++) 00231 { 00232 pool.getPtr(ptr, arr[cnt - j - 1]); 00233 ptr.p->do_stuff(); 00234 pool.release(ptr); 00235 arr[cnt - j - 1] = RNIL; 00236 } 00237 CALLGRIND_TOGGLE_COLLECT(); 00238 Uint64 stop = NdbTick_CurrentMillisecond(); 00239 00240 sum += (stop - start); 00241 } 00242 printf(" ; %lld", sum); fflush(stdout); 00243 } 00244 00245 if (tests & T_MIX) 00246 { 00247 Uint64 sum = 0; 00248 Uint64 start = NdbTick_CurrentMillisecond(); 00249 Uint32 lseed = seed; 00250 CALLGRIND_TOGGLE_COLLECT(); 00251 for(Uint32 i = 0; i<loops * cnt; i++) 00252 { 00253 int pos = rand_r(&lseed) % cnt; 00254 ptr.i = arr[pos]; 00255 if (ptr.i == RNIL) 00256 { 00257 pool.seize(ptr); 00258 arr[pos] = ptr.i; 00259 assert(ptr.i != RNIL); 00260 ptr.p->do_stuff(); 00261 } 00262 else 00263 { 00264 pool.getPtr(ptr); 00265 ptr.p->do_stuff(); 00266 pool.release(ptr); 00267 arr[pos] = RNIL; 00268 } 00269 } 00270 CALLGRIND_TOGGLE_COLLECT(); 00271 Uint64 stop = NdbTick_CurrentMillisecond(); 00272 00273 for(Uint32 j = 0; j<cnt; j++) 00274 { 00275 ptr.i = arr[j]; 00276 if (ptr.i != RNIL) 00277 { 00278 pool.getPtr(ptr); 00279 pool.release(ptr.i); 00280 } 00281 arr[j] = RNIL; 00282 } 00283 00284 sum += (stop - start); 00285 printf(" ; %lld", sum); fflush(stdout); 00286 } 00287 00288 if (tests & T_GETPTR) 00289 { 00290 Uint32 lseed = seed; 00291 for(Uint32 j = 0; j<cnt; j++) 00292 { 00293 bool b = pool.seize(ptr); 00294 arr[j] = ptr.i; 00295 ptr.p->do_stuff(); 00296 assert(b); 00297 } 00298 00299 Uint64 sum = 0; 00300 Uint64 start = NdbTick_CurrentMillisecond(); 00301 CALLGRIND_TOGGLE_COLLECT(); 00302 for(Uint32 i = 0; i<loops * cnt; i++) 00303 { 00304 int pos = rand_r(&lseed) % cnt; 00305 ptr.i = arr[pos]; 00306 pool.getPtr(ptr); 00307 ptr.p->do_stuff(); 00308 } 00309 CALLGRIND_TOGGLE_COLLECT(); 00310 Uint64 stop = NdbTick_CurrentMillisecond(); 00311 00312 for(Uint32 j = 0; j<cnt; j++) 00313 { 00314 ptr.i = arr[j]; 00315 pool.getPtr(ptr); 00316 ptr.p->do_stuff(); 00317 pool.release(ptr.i); 00318 arr[j] = RNIL; 00319 } 00320 00321 sum += (stop - start); 00322 printf(" ; %lld", sum); fflush(stdout); 00323 } 00324 00325 if (tests & T_FIFO) 00326 { // fifo 00327 Uint64 sum = 0; 00328 Uint64 start = NdbTick_CurrentMillisecond(); 00329 CALLGRIND_TOGGLE_COLLECT(); 00330 for(Uint32 i = 0; i<loops; i++) 00331 { 00332 Uint32 head = RNIL; 00333 Uint32 last = RNIL; 00334 00335 Uint64 sum = 0; 00336 for(Uint32 j = 0; j<cnt; j++) 00337 { 00338 pool.seize(ptr); 00339 ptr.p->do_stuff(); 00340 ptr.p->m_nextList = RNIL; 00341 if (head == RNIL) 00342 { 00343 head = ptr.i; 00344 } 00345 else 00346 { 00347 T* t = pool.getPtr(last); 00348 t->m_nextList = ptr.i; 00349 } 00350 last = ptr.i; 00351 } 00352 00353 while (head != RNIL) 00354 { 00355 pool.getPtr(ptr, head); 00356 ptr.p->do_stuff(); 00357 head = ptr.p->m_nextList; 00358 pool.release(ptr); 00359 } 00360 } 00361 CALLGRIND_TOGGLE_COLLECT(); 00362 Uint64 stop = NdbTick_CurrentMillisecond(); 00363 sum += (stop - start); 00364 printf(" ; %lld", sum); fflush(stdout); 00365 } 00366 00367 ndbout_c(""); 00368 }
Here is the call graph for this function:

Definition at line 402 of file bench_pool.cpp.
References init.
00403 { 00404 printf("RW ; %d ; %d", sizeof(T), (cnt * sizeof(T))>>10); fflush(stdout); 00405 RecordPool<T, RWPool> pool; 00406 init(pool, cnt); 00407 test_pool<T, RecordPool<T, RWPool> >(pool, cnt, loop); 00408 }
Definition at line 411 of file bench_pool.cpp.
References init.
00412 { 00413 printf("WO ; %d ; %d", sizeof(T), (cnt * sizeof(T))>>10); fflush(stdout); 00414 RecordPool<T, WOPool> pool; 00415 init(pool, cnt); 00416 test_pool<T, RecordPool<T, WOPool> >(pool, cnt, loop); 00417 }
Definition at line 62 of file bench_pool.cpp.
Referenced by Configuration::calcSizeAlt(), ConfigValuesFactory::ConfigValuesFactory(), ConfigValuesFactory::extractCurrentSection(), MgmApiSession::getConfig_common(), ndb_mgm_connect(), ndb_mgm_destroy_configuration(), and ConfigValuesFactory::put().
| Block_context ctx = { cfg, mm } |
Definition at line 63 of file bench_pool.cpp.
Referenced by add_a_connection(), add_node_connections(), applyDefaultValues(), buffpek_compare(), check_node_vs_replicas(), checkConnectionConstraints(), checkConnectionSupport(), checkDbConstraints(), checkLocalhostHostnameMix(), checkMandatory(), ParserImpl::checkMandatory(), checkTCPConstraints(), client_test(), Dbtc::Dbtc(), sp_pcontext::diff_cursors(), sp_pcontext::diff_handlers(), echoclient_test(), echoserver_test(), sp_head::execute(), Item_func_current_user::fix_fields(), fixBackupDataDir(), fixDepricated(), fixFileSystemPath(), fixHostname(), fixNodeHostname(), fixNodeId(), fixPortNumber(), fixShmKey(), fixShmUniqueId(), handle_default_option(), InitConfigFileParser::handle_mycnf_defaults(), SimBlockList::load(), load_defaults(), InitConfigFileParser::load_mycnf_groups(), CPCDAPISession::loadFile(), my_search_option_files(), ndb_mgm_call(), Parser< T >::parse(), InitConfigFileParser::parse_mycnf(), ParserImpl::parseArg(), InitConfigFileParser::parseConfig(), InitConfigFileParser::parseNameValuePair(), yaSSL::read_file(), sp_pcontext::retrieve_field_definitions(), ParserImpl::run(), Parser< T >::run(), InitConfigFileParser::run_config_rules(), MgmApiSession::runSession(), CPCDAPISession::runSession(), sanity_checks(), saveInConfigValues(), server_test(), set_certs(), set_dsaServerCerts(), set_serverCerts(), set_tmpDH(), Item_splocal::set_value(), yaSSL::SSL::SSL(), yaSSL::SSL_CTX_free(), yaSSL::SSL_CTX_get_verify_depth(), yaSSL::SSL_CTX_get_verify_mode(), yaSSL::SSL_CTX_load_verify_locations(), yaSSL::SSL_CTX_sess_accept(), yaSSL::SSL_CTX_sess_accept_good(), yaSSL::SSL_CTX_sess_accept_renegotiate(), yaSSL::SSL_CTX_sess_cache_full(), yaSSL::SSL_CTX_sess_cb_hits(), yaSSL::SSL_CTX_sess_connect(), yaSSL::SSL_CTX_sess_connect_good(), yaSSL::SSL_CTX_sess_connect_renegotiate(), yaSSL::SSL_CTX_sess_get_cache_size(), yaSSL::SSL_CTX_sess_hits(), yaSSL::SSL_CTX_sess_misses(), yaSSL::SSL_CTX_sess_number(), yaSSL::SSL_CTX_sess_timeouts(), yaSSL::SSL_CTX_set_cipher_list(), yaSSL::SSL_CTX_set_tmp_dh(), yaSSL::SSL_CTX_set_verify(), yaSSL::SSL_CTX_use_certificate_file(), yaSSL::SSL_CTX_use_PrivateKey_file(), yaSSL::SSL_new(), store_ca(), InitConfigFileParser::store_in_properties(), InitConfigFileParser::storeNameValuePair(), InitConfigFileParser::storeSection(), transform(), transformComputer(), transformConnection(), transformNode(), transformSystem(), X509_STORE_CTX_get_current_cert(), X509_STORE_CTX_get_error(), and X509_STORE_CTX_get_error_depth().
Definition at line 550 of file bench_pool.cpp.
Definition at line 61 of file bench_pool.cpp.
Referenced by Dbtup::execACC_SCANREQ(), main(), and Dbtup::scanNext().
Definition at line 58 of file bench_pool.cpp.
Referenced by _create_index_by_sort(), best_access_path(), check_k_link(), check_quick_keys(), check_quick_select(), chk_data_link(), do_test(), Backup::execBACKUP_COMPLETE_REP(), filesort(), find_best(), get_best_covering_ror_intersect(), get_schema_stat_record(), hash_check(), hash_element(), hash_update(), heap_check_heap(), main(), myrg_records_in_range(), open_table_from_share(), and ror_scan_selectivity().
| unsigned int seed |
Definition at line 60 of file bench_pool.cpp.
Referenced by yaSSL::SSL::deriveTLSKeys(), main(), yaSSL::SSL::makeTLSMasterSecret(), yaSSL::p_hash(), and test_pool().
Definition at line 59 of file bench_pool.cpp.
Referenced by Dbtup::handleInsertReq(), Dbtup::handleUpdateReq(), and main().
| const char* test_names[] |
Initial value:
{
"seize",
"release",
"get+rel",
"r-rel",
"r-get+rel",
"mix",
"getptr",
"fifo",
0
}
Definition at line 44 of file bench_pool.cpp.
Definition at line 57 of file bench_pool.cpp.
1.4.7

