#include <STDistributedIncomingSpikeScheduler.h>
Public Member Functions | |
STDistributedIncomingSpikeScheduler (MPIInputBufferVector &inputBuffers, GlobalSingleTargetDelayMap &globalDelayMap, PropagatedSpikeBuffer &spikeBuffer, int cycleSteps) | |
Constructor. | |
virtual | ~STDistributedIncomingSpikeScheduler () |
virtual void | processMPIInputSpikeBuffers () |
Processes the spikes in the mpi input buffers. | |
Protected Attributes | |
PropagatedSpikeBuffer & | spikeBuf |
MPIInputBufferVector & | mpiInBuffers |
GlobalSingleTargetDelayMap & | delayMap |
int | _cycleSteps |
Implementation of the DistributedIncomingSpikeScheduler interface for the single threaded simulation.
Definition at line 16 of file STDistributedIncomingSpikeScheduler.h.
STDistributedIncomingSpikeScheduler::STDistributedIncomingSpikeScheduler | ( | MPIInputBufferVector & | inputBuffers, | |
GlobalSingleTargetDelayMap & | globalDelayMap, | |||
PropagatedSpikeBuffer & | spikeBuffer, | |||
int | cycleSteps | |||
) |
STDistributedIncomingSpikeScheduler::~STDistributedIncomingSpikeScheduler | ( | ) | [virtual] |
Definition at line 17 of file STDistributedIncomingSpikeScheduler.cpp.
void STDistributedIncomingSpikeScheduler::processMPIInputSpikeBuffers | ( | ) | [virtual] |
Processes the spikes in the mpi input buffers.
Spikes are scanned from the array of mpi input buffers (one buffer for each processing node) and scheduled in the PropagatedSpikeBuffer.
Implements DistributedIncomingSpikeScheduler.
Definition at line 20 of file STDistributedIncomingSpikeScheduler.cpp.
References _cycleSteps, GlobalSingleTargetDelayMap::beginDelays(), MPIMessageSpec::contentAnalog, delayMap, GlobalSingleTargetDelayMap::endDelays(), GlobalSingleTargetDelayMap::hasDelays(), mpiInBuffers, PropagatedSpikeBuffer::scheduleSpikeTargetGroup(), MPIInputBufferVector::size(), and spikeBuf.
Referenced by IncomingSpikeSchedulerThreadPoolJob::start().
Definition at line 47 of file STDistributedIncomingSpikeScheduler.h.
Referenced by processMPIInputSpikeBuffers().
Definition at line 49 of file STDistributedIncomingSpikeScheduler.h.
Referenced by processMPIInputSpikeBuffers().
Definition at line 51 of file STDistributedIncomingSpikeScheduler.h.
Referenced by processMPIInputSpikeBuffers().
int STDistributedIncomingSpikeScheduler::_cycleSteps [protected] |
Definition at line 53 of file STDistributedIncomingSpikeScheduler.h.
Referenced by processMPIInputSpikeBuffers().