示例#1
0
 /// Constructor. Creates the integer map.
 lazy_dht(distributed_control &dc, 
          size_t max_cache_size = 65536):rmi(dc, this),data(11) {
   cache.rehash(max_cache_size);
   maxcache = max_cache_size;
   logger(LOG_INFO, "%d Creating distributed_hash_table. Cache Limit = %d", 
          dc.procid(), maxcache);
   reqs = 0;
   misses = 0;
   dc.barrier();
 }
 simple_engine_test(distributed_control &dc):rmi(dc, this), cons(dc, 4) {
   numactive.value = 4; 
   dc.barrier();
 }
示例#3
0
 teststruct(distributed_control &dc):rmi(dc, this) {
   dc.barrier();
 }