MCPcopy Create free account
hub / github.com/BirolLab/abyss / sendCheckPointMessage

Method sendCheckPointMessage

Parallel/CommLayer.cpp:141–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139}
140
141uint64_t CommLayer::sendCheckPointMessage(int argument)
142{
143 logger(4) << "checkpoint: " << argument << '\n';
144 assert(opt::rank != 0);
145 ControlMessage msg;
146 msg.id = m_msgID++;
147 msg.msgType = APC_CHECKPOINT;
148 msg.argument = argument;
149
150 MPI_Send(&msg, sizeof msg,
151 MPI_BYTE, 0, APM_CONTROL, MPI_COMM_WORLD);
152 return msg.id;
153}
154
155/** Send a control message to every other process. */
156void CommLayer::sendControlMessage(APControl m, int argument)

Callers 1

runMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected