CARLsim  4.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 67 of file simple_weight_tuner.cpp.

Constructor & Destructor Documentation

◆ Impl()

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

Definition at line 71 of file simple_weight_tuner.cpp.

◆ ~Impl()

~Impl ( )
inline

Definition at line 103 of file simple_weight_tuner.cpp.

Member Function Documentation

◆ done()

bool done ( bool  printMessage)
inline

Definition at line 115 of file simple_weight_tuner.cpp.

◆ iterate()

void iterate ( int  runDurationMs,
bool  printStatus 
)
inline

Definition at line 167 of file simple_weight_tuner.cpp.

◆ reset()

void reset ( )
inline

Definition at line 110 of file simple_weight_tuner.cpp.

◆ setConnectionToTune()

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

Definition at line 140 of file simple_weight_tuner.cpp.

◆ setTargetFiringRate()

void setTargetFiringRate ( int  grpId,
double  targetRate 
)
inline

Definition at line 151 of file simple_weight_tuner.cpp.


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