CARLsim  6.1.0
CARLsim: a GPU-accelerated SNN simulator
SimpleWeightTuner::Impl Class Reference

Private implementation of the Stopwatch Utility. More...

Public Member Functions

 Impl (CARLsim *sim, double errorMargin, int maxIter, double stepSizeFraction)
 
 ~Impl ()
 
bool done (bool printMessage)
 
void iterate (int runDurationMs, bool printStatus)
 
void reset ()
 
void setConnectionToTune (short int connId, double initWt, bool adjustRange)
 
void setTargetFiringRate (int grpId, double targetRate)
 

Detailed Description

This class provides a timer with milliseconds resolution.

See also
http://stackoverflow.com/questions/1861294/how-to-calculate-execution-time-of-a-code-snippet-in-c/1861337#1861337
Since
v3.1

Definition at line 69 of file simple_weight_tuner.cpp.

Constructor & Destructor Documentation

◆ Impl()

Impl ( CARLsim sim,
double  errorMargin,
int  maxIter,
double  stepSizeFraction 
)
inline

Definition at line 73 of file simple_weight_tuner.cpp.

Here is the call graph for this function:

◆ ~Impl()

~Impl ( )
inline

Definition at line 105 of file simple_weight_tuner.cpp.

Member Function Documentation

◆ done()

bool done ( bool  printMessage)
inline

Definition at line 117 of file simple_weight_tuner.cpp.

Here is the caller graph for this function:

◆ iterate()

void iterate ( int  runDurationMs,
bool  printStatus 
)
inline

Definition at line 169 of file simple_weight_tuner.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ reset()

void reset ( )
inline

Definition at line 112 of file simple_weight_tuner.cpp.

Here is the caller graph for this function:

◆ setConnectionToTune()

void setConnectionToTune ( short int  connId,
double  initWt,
bool  adjustRange 
)
inline

Definition at line 142 of file simple_weight_tuner.cpp.

Here is the caller graph for this function:

◆ setTargetFiringRate()

void setTargetFiringRate ( int  grpId,
double  targetRate 
)
inline

Definition at line 153 of file simple_weight_tuner.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following file: