Lines Matching defs:cachesize
38 int cachesize, ch, hits, npages, pagesize;
41 cachesize = 20 * 1024;
49 if ((cachesize = atoi(optarg)) < 20 * 1024)
71 return (run_mpool(pagesize, cachesize,
80 "usage: %s [-c cachesize] [-h hits] [-n npages] [-p pagesize]\n",
86 run_mpool(pagesize, cachesize, hits, npages, progname)
87 int pagesize, cachesize, hits, npages;
97 if ((ret = run(hits, cachesize, pagesize, npages, progname)) != 0)
156 run(hits, cachesize, pagesize, npages, progname)
157 int hits, cachesize, pagesize, npages;
169 printf("%s: cachesize: %d; pagesize: %d; N pages: %d\n",
170 progname, cachesize, pagesize, npages);
173 * Open a memory pool, specify a cachesize, output error messages
190 /* Set the cachesize. */
191 if ((ret = dbenv->set_cachesize(dbenv, 0, cachesize, 0)) != 0) {