Derecho  0.9
Distributed systems toolkit for RDMA
Public Member Functions | Private Attributes | List of all members
rdmc::barrier_group Class Reference

#include <rdmc.hpp>

Collaboration diagram for rdmc::barrier_group:
Collaboration graph
[legend]

Public Member Functions

 barrier_group (std::vector< uint32_t > members)
 
void barrier_wait ()
 

Private Attributes

std::vector< rdma::endpointendpoints
 
std::vector< rdma::remote_memory_regionremote_memory_regions
 
std::vector< rdma::endpointextra_endpoints
 
std::array< volatile int64_t, 32 > steps
 
std::unique_ptr< rdma::memory_regionsteps_mr
 
volatile int64_t number = -1
 
std::unique_ptr< rdma::memory_regionnumber_mr
 
unsigned int total_steps
 
std::mutex lock
 
uint32_t member_index
 
uint32_t group_size
 

Detailed Description

Definition at line 84 of file rdmc.hpp.

Constructor & Destructor Documentation

◆ barrier_group()

rdmc::barrier_group::barrier_group ( std::vector< uint32_t >  members)

Definition at line 119 of file rdmc.cpp.

Member Function Documentation

◆ barrier_wait()

void rdmc::barrier_group::barrier_wait ( )

Definition at line 188 of file rdmc.cpp.

Member Data Documentation

◆ endpoints

std::vector<rdma::endpoint> rdmc::barrier_group::endpoints
private

Definition at line 90 of file rdmc.hpp.

◆ extra_endpoints

std::vector<rdma::endpoint> rdmc::barrier_group::extra_endpoints
private

Definition at line 99 of file rdmc.hpp.

◆ group_size

uint32_t rdmc::barrier_group::group_size
private

Definition at line 118 of file rdmc.hpp.

◆ lock

std::mutex rdmc::barrier_group::lock
private

Definition at line 114 of file rdmc.hpp.

◆ member_index

uint32_t rdmc::barrier_group::member_index
private

Definition at line 117 of file rdmc.hpp.

◆ number

volatile int64_t rdmc::barrier_group::number = -1
private

Definition at line 107 of file rdmc.hpp.

◆ number_mr

std::unique_ptr<rdma::memory_region> rdmc::barrier_group::number_mr
private

Definition at line 108 of file rdmc.hpp.

◆ remote_memory_regions

std::vector<rdma::remote_memory_region> rdmc::barrier_group::remote_memory_regions
private

Definition at line 92 of file rdmc.hpp.

◆ steps

std::array<volatile int64_t, 32> rdmc::barrier_group::steps
private

Definition at line 103 of file rdmc.hpp.

◆ steps_mr

std::unique_ptr<rdma::memory_region> rdmc::barrier_group::steps_mr
private

Definition at line 104 of file rdmc.hpp.

◆ total_steps

unsigned int rdmc::barrier_group::total_steps
private

Definition at line 111 of file rdmc.hpp.


The documentation for this class was generated from the following files: