distributed_batch_ingress(distributed_control& dc, graph_type& graph, size_t bufsize = 50000, bool usehash = false, bool userecent = false) : base_type(dc, graph), rpc(dc, this), num_edges(0), bufsize(bufsize), query_set(dc.numprocs()), proc_num_edges(dc.numprocs()), usehash(usehash), userecent(userecent) { rpc.barrier(); INITIALIZE_TRACER(batch_ingress_add_edge, "Time spent in add edge"); INITIALIZE_TRACER(batch_ingress_add_edges, "Time spent in add block edges" ); INITIALIZE_TRACER(batch_ingress_compute_assignments, "Time spent in compute assignment"); INITIALIZE_TRACER(batch_ingress_request_degree_table, "Time spent in requesting assignment"); INITIALIZE_TRACER(batch_ingress_get_degree_table, "Time spent in retrieve degree table"); INITIALIZE_TRACER(batch_ingress_update_degree_table, "Time spent in update degree table"); }
distributed_oblivious_ingress(distributed_control& dc, graph_type& graph, bool usehash = false, bool userecent = false) : base_type(dc, graph), dht(-1),proc_num_edges(dc.numprocs()), usehash(usehash), userecent(userecent) { INITIALIZE_TRACER(ob_ingress_compute_assignments, "Time spent in compute assignment"); }
distributed_constrained_oblivious_ingress(distributed_control& dc, graph_type& graph, bool usehash = false, bool userecent = false) : base_type(dc, graph), dht(-1),proc_num_edges(dc.numprocs()), usehash(usehash), userecent(userecent) { constraint = new sharding_constraint(dc.numprocs(), "grid"); }