Lines Matching refs:nthreads
72 void Insert(const size_t nthreads, const size_t max_keys) { in Insert() argument
77 auto threads = SpawnThreads(nthreads, fn); in Insert()
85 void Verify(const size_t nthreads = 1, const bool eviction_enabled = false) {
92 auto threads = SpawnThreads(nthreads, fn);
179 void RunInsertTest(const size_t nthreads, const size_t max_keys) { in RunInsertTest() argument
180 Insert(nthreads, max_keys); in RunInsertTest()
181 Verify(nthreads); in RunInsertTest()
190 void RunNegativeInsertTest(const size_t nthreads, const size_t max_keys) { in RunNegativeInsertTest() argument
191 Insert(nthreads, max_keys); in RunNegativeInsertTest()
192 Verify(nthreads, /*eviction_enabled=*/true); in RunNegativeInsertTest()
201 void RunInsertTestWithEviction(const size_t nthreads, const size_t max_keys) { in RunInsertTestWithEviction() argument
202 Insert(nthreads, max_keys); in RunInsertTestWithEviction()
203 Verify(nthreads, /*eviction_enabled=*/true); in RunInsertTestWithEviction()