|
CARLsim
4.1.0
CARLsim: a GPU-accelerated SNN simulator
|
#include <neuron_monitor_core.h>
Public Member Functions | |
| NeuronMonitorCore (SNN *snn, int monitorId, int grpId) | |
| constructor (called by CARLsim::setNeuronMonitor) More... | |
| ~NeuronMonitorCore () | |
| destructor, cleans up all the memory upon object deletion More... | |
| void | clear () |
| deletes data from the neuron state vector More... | |
| long int | getAccumTime () |
| returns the total accumulated time More... | |
| long int | getBufferSize () |
| returns the approximate size of the state vectors in bytes More... | |
| long int | getLastUpdated () |
| returns timestamp of last NeuronMonitor update More... | |
| FILE * | getNeuronFileId () |
| returns a pointer to the neuron state file More... | |
| std::vector< std::vector< float > > | getVectorI () |
| std::vector< std::vector< float > > | getVectorU () |
| std::vector< std::vector< float > > | getVectorV () |
| returns the Neuron state vector More... | |
| bool | isBufferBig () |
| returns true if state buffers are close to maxAllowedBufferSize More... | |
| bool | isRecording () |
| returns recording status More... | |
| void | print () |
| prints neuron states in human-readable format More... | |
| void | pushNeuronState (int neurId, float V, float U, float I) |
| inserts a (time,neurId) tupel into the D Neuron State vector More... | |
| void | setLastUpdated (long int lastUpdate) |
| sets timestamp of last NeuronMonitor update More... | |
| void | setNeuronFileId (FILE *neuronFileId) |
| sets pointer to Neuron file More... | |
| void | startRecording () |
| starts recording Neuron state More... | |
| void | stopRecording () |
| stops recording Neuron state More... | |
| void | writeNeuronFileHeader () |
Definition at line 58 of file neuron_monitor_core.h.
| NeuronMonitorCore | ( | SNN * | snn, |
| int | monitorId, | ||
| int | grpId | ||
| ) |
Definition at line 56 of file neuron_monitor_core.cpp.
| ~NeuronMonitorCore | ( | ) |
Definition at line 93 of file neuron_monitor_core.cpp.
| void clear | ( | ) |
Definition at line 100 of file neuron_monitor_core.cpp.
| long int getAccumTime | ( | ) |
Definition at line 173 of file neuron_monitor_core.cpp.
| long int getBufferSize | ( | ) |
Definition at line 229 of file neuron_monitor_core.cpp.
|
inline |
Definition at line 93 of file neuron_monitor_core.h.
|
inline |
Definition at line 90 of file neuron_monitor_core.h.
| std::vector< std::vector< float > > getVectorI | ( | ) |
Definition at line 264 of file neuron_monitor_core.cpp.
| std::vector< std::vector< float > > getVectorU | ( | ) |
Definition at line 259 of file neuron_monitor_core.cpp.
| std::vector< std::vector< float > > getVectorV | ( | ) |
Definition at line 254 of file neuron_monitor_core.cpp.
| bool isBufferBig | ( | ) |
Definition at line 239 of file neuron_monitor_core.cpp.
|
inline |
Definition at line 72 of file neuron_monitor_core.h.
| void print | ( | ) |
Definition at line 269 of file neuron_monitor_core.cpp.
| void pushNeuronState | ( | int | neurId, |
| float | V, | ||
| float | U, | ||
| float | I | ||
| ) |
Definition at line 117 of file neuron_monitor_core.cpp.
|
inline |
Definition at line 96 of file neuron_monitor_core.h.
| void setNeuronFileId | ( | FILE * | neuronFileId | ) |
Definition at line 177 of file neuron_monitor_core.cpp.
| void startRecording | ( | ) |
Definition at line 125 of file neuron_monitor_core.cpp.
| void stopRecording | ( | ) |
Definition at line 155 of file neuron_monitor_core.cpp.
| void writeNeuronFileHeader | ( | ) |
Definition at line 199 of file neuron_monitor_core.cpp.