/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/examples_c/ |
H A D | ex_tpcb.c | 131 int accounts, branches, seed, tellers, history; local 136 accounts = branches = history = tellers = 0; 176 if ((tellers = atoi(optarg)) <= 0) 198 tellers = tellers == 0 ? TELLERS : tellers; 204 (long)tellers, (long)history); 210 accounts, branches, history, tellers, verbose); 214 tp_run(dbenv, ntxns, accounts, branches, tellers, verbose); 244 a2 = "\t[-c cache_size] [-h home] [-S seed] [-s history] [-t tellers]"; [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/examples_cxx/ |
H A D | TpcbExample.cpp | 119 int accounts, branches, tellers, history; local 125 accounts = branches = history = tellers = 0; 179 if ((tellers = atoi(argv[++i])) <= 0) 195 tellers = tellers == 0 ? TELLERS : tellers; 201 << (long)tellers << " Tellers, " 214 app.populate(accounts, branches, history, tellers); 219 app.run(ntxns, accounts, branches, tellers); 244 << " [-S seed] [-s history] [-t tellers]\ 272 populate(int accounts, int branches, int history, int tellers) argument 405 populateHistory(Db *dbp, int nrecs, u_int32_t accounts, u_int32_t branches, u_int32_t tellers) argument 445 random_id(FTYPE type, u_int32_t accounts, u_int32_t branches, u_int32_t tellers) argument 468 run(int n, int accounts, int branches, int tellers) argument 531 txn(Db *adb, Db *bdb, Db *tdb, Db *hdb, int accounts, int branches, int tellers) argument [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/examples_cxx/wce_tpcb/ |
H A D | TpcbExample.cpp | 26 tellers(TELLERS), history(HISTORY), fast_mode(1), verbose(0), 75 // history records, and tellers. 154 // In the case of tellers, we also want small pages, but we'll let 158 dbp->set_h_nelem(dbp, (unsigned int)tellers); 169 if ((err = populateTable(dbp, idnum, balance, tellers, "teller")) != 0) 171 idnum += tellers; 194 populateHistory(dbp, history, accounts, branches, tellers); 239 u_int32_t branches, u_int32_t tellers) 255 hrec.aid = randomId(ACCOUNT, accounts, branches, tellers); 256 hrec.bid = randomId(BRANCH, accounts, branches, tellers); 238 populateHistory(DB *dbp, int nrecs, u_int32_t accounts, u_int32_t branches, u_int32_t tellers) argument 362 txn(DB *adb, DB *bdb, DB *tdb, DB *hdb, int accounts, int branches, int tellers) argument 488 randomId(FTYPE type, u_int32_t accounts, u_int32_t branches, u_int32_t tellers) argument [all...] |
H A D | TpcbExample.h | 44 int tellers; member in class:TpcbExample
|
H A D | TpcbUI.cpp | 191 tpcb->tellers = 50; 201 tpcb->tellers = 100; 211 tpcb->tellers = 100;
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/examples_java/src/db/ |
H A D | TpcbExample.java | 76 int accounts, branches, tellers, history; field in class:TpcbExample 79 int accounts, int branches, int tellers, int history, 85 this.tellers = tellers; 117 // history records, and tellers given to the constructor. 196 // In the case of tellers, we also want small pages, but we'll let 199 h_nelem = (int)tellers; 226 System.out.println("Populated tellers: " + 317 num = tellers; 574 " [-T threads] [-S seed] [-s history] [-t tellers]"); 78 TpcbExample(File home, int accounts, int branches, int tellers, int history, int cachesize, boolean noSync) argument [all...] |