CARLsim
5.0.0
CARLsim: a GPU-accelerated SNN simulator
|
Go to the documentation of this file.
59 groupMonitorCorePtr_ = groupMonitorCorePtr;
63 delete groupMonitorCorePtr_;
73 std::string funcName =
"startRecording()";
80 std::string funcName =
"stopRecording()";
87 std::string funcName =
"getRecordingTotalTime()";
94 std::string funcName =
"getRecordingLastStartTime()";
101 std::string funcName =
"getRecordingStartTime()";
108 std::string funcName =
"getRecordingStopTime()";
123 std::string funcName =
"getDataVector()";
130 std::string funcName =
"getTimeVector()";
137 std::string funcName =
"getPeakTimeVector()";
144 std::string funcName =
"getSortedPeakTimeVector()";
151 std::string funcName =
"getPeakValueVector()";
158 std::string funcName =
"getSortedPeakValueVector()";
@ CANNOT_BE_ON
parameter cannot be on
int getRecordingStartTime()
Returns the simulation time (ms) of the first call to startRecording()
GroupMonitor(GroupMonitorCore *groupMonitorCorePtr)
GroupMonitor constructor.
std::vector< int > getTimeVector()
return a vector of the timestamps for group data
int getRecordingStopTime()
Returns the simulation time (ms) of the last call to stopRecording()
void startRecording()
starts recording group data
std::vector< int > getPeakTimeVector()
get the timestamps for peak values
bool getPersistentData()
returns status of PersistentData mode
@ MUST_BE_ON
parameter must be on
std::vector< float > getSortedPeakValueVector()
get the sorted peak values of group data
std::vector< float > getDataVector()
get the group data
int getRecordingStartTime()
retunrs the timestamp of the first startRecording in ms
GroupMonitor private core implementation.
void stopRecording()
stops recording group data
virtual ~GroupMonitor()
GroupMonitor destructor.
void startRecording()
Starts a new recording period.
std::vector< float > getDataVector()
return the group data vector
int getRecordingTotalTime()
Returns the total recording time (ms)
bool isRecording()
Recording status (true=recording, false=not recording)
bool isRecording()
returns recording status
int getRecordingLastStartTime()
returns the timestamp of the last startRecording in ms
std::vector< int > getSortedPeakTimeVector()
get the sorted timestamps for peak values
void stopRecording()
Ends a recording period.
void setPersistentData(bool persistentData)
Sets PersistentMode either on (true) or off (false)
int getRecordingTotalTime()
returns the total recorded time in ms
int getRecordingLastStartTime()
Returns the simulation time (ms) of the last call to startRecording()
std::vector< float > getPeakValueVector()
return a vector of peak values in group data
void setPersistentData(bool persistentData)
sets status of PersistentData mode
std::vector< int > getTimeVector()
get the timestamps for group data
std::vector< float > getPeakValueVector()
get the peak values of group data
static void assertTrue(bool statement, errorType errorIfAssertionFails, std::string errorFunc, std::string errorMsgPrefix="", std::string errorMsgSuffix="")
simple wrapper for assert statement
int getRecordingStopTime()
returns the timestamp of stopRecording
std::vector< int > getSortedPeakTimeVector()
return a vector of the timestamps for peak values in group data (sorted in decending order)
bool getPersistentData()
Returns a flag that indicates whether PersistentMode is on (true) or off (false)
std::vector< float > getSortedPeakValueVector()
return a vector of peak values in group data (sorted in decending order)
std::vector< int > getPeakTimeVector()
return a vector of the timestamps for peak values in group data