CARLsim  3.1.3
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 20 of file simple_weight_tuner.cpp.

Constructor & Destructor Documentation

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

Definition at line 24 of file simple_weight_tuner.cpp.

~Impl ( )
inline

Definition at line 56 of file simple_weight_tuner.cpp.

Member Function Documentation

bool done ( bool  printMessage)
inline

Definition at line 68 of file simple_weight_tuner.cpp.

void iterate ( int  runDurationMs,
bool  printStatus 
)
inline

Definition at line 120 of file simple_weight_tuner.cpp.

void reset ( )
inline

Definition at line 63 of file simple_weight_tuner.cpp.

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

Definition at line 93 of file simple_weight_tuner.cpp.

void setTargetFiringRate ( int  grpId,
double  targetRate 
)
inline

Definition at line 104 of file simple_weight_tuner.cpp.


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