Derecho  0.9
Distributed systems toolkit for RDMA
multicast_sst.hpp
Go to the documentation of this file.
1 #include "sst.hpp"
2 
3 namespace sst {
4 class multicast_sst : public SST<multicast_sst> {
5 public:
9  multicast_sst(const SSTParams& parameters, uint32_t window_size, uint32_t num_senders, uint64_t max_msg_size)
10  : SST<multicast_sst>(this, parameters),
11  slots((max_msg_size + sizeof(uint64_t) + sizeof(uint64_t)) * window_size),
12  num_received_sst(num_senders) {
13  SSTInit(slots, num_received_sst, heartbeat);
14  }
15 };
16 } // namespace sst
SSTField< bool > heartbeat
multicast_sst(const SSTParams &parameters, uint32_t window_size, uint32_t num_senders, uint64_t max_msg_size)
SSTFieldVector< char > slots
Constructor parameter pack for SST.
Definition: sst.hpp:124
void SSTInit(Fields &... fields)
Definition: sst.hpp:268
SSTFieldVector< int64_t > num_received_sst