-int run_test (void) {
- int ops;
- wait_ = num_threads_ + 1;
-
- // Quicky sanity check
- int n = 100;
- if (num_keys_ < n) { n = num_keys_; }
- for (int i = 0; i < n; ++i) {
- map_set(map_, keys_[i], keys_[i]);
- for(int j = 0; j < i; ++j) {
-#ifdef TEST_STRING_KEYS
- ASSERT(ns_cmp((nstring_t *)map_get(map_, keys_[i]), (nstring_t *)keys_[i]) == 0);
-#else
- ASSERT(map_get(map_, keys_[i]) == keys_[i]);
-#endif
- }
- }
+uint64_t run_test (void) {
+ load_ = num_threads_ + 1;
+ start_ = num_threads_ + 1;