GeNN  4.9.0
GPU enhanced Neuronal Networks (GeNN)
SpineMLSimulator::Simulator Class Reference

#include <simulator.h>

Public Member Functions

 Simulator (plog::Severity logLevel=plog::warning)
 
 Simulator (const std::string &experimentXML, const std::string &overrideOutputPath="", plog::Severity logLevel=plog::warning)
 
 ~Simulator ()
 
void load (const std::string &experimentXML, const std::string &overrideOutputPath="")
 Load model from XML file. More...
 
void stepTime ()
 Advance simulation by one timestep. More...
 
const LogOutput::AnalogueExternalgetExternalLogger (const std::string &name) const
 Get an external logger by name. More...
 
InputValue::ExternalgetExternalInput (const std::string &name) const
 Get an external input by name. More...
 
double getDT () const
 Get the simulation timestep (in ms) More...
 
double getDurationMs () const
 Get duration of simulation read from experiment in ms. More...
 
double getInputMs () const
 Get the total times accumulated in each stage of the simulation. More...
 
double getSimulateMs () const
 
double getLogMs () const
 
double getNeuronUpdateTime () const
 Timings of individual kernels provided by GeNN. More...
 
double getInitTime () const
 
double getPresynapticUpdateTime () const
 
double getPostsynapticUpdateTime () const
 
double getSynapseDynamicsTime () const
 
double getInitSparseTime () const
 
unsigned long long calcNumTimesteps () const
 Calculate duration of simulation read from experiment in timesteps. More...
 

Constructor & Destructor Documentation

◆ Simulator() [1/2]

SpineMLSimulator::Simulator::Simulator ( plog::Severity  logLevel = plog::warning)

◆ Simulator() [2/2]

SpineMLSimulator::Simulator::Simulator ( const std::string &  experimentXML,
const std::string &  overrideOutputPath = "",
plog::Severity  logLevel = plog::warning 
)

◆ ~Simulator()

SpineMLSimulator::Simulator::~Simulator ( )

Member Function Documentation

◆ calcNumTimesteps()

unsigned long long SpineMLSimulator::Simulator::calcNumTimesteps ( ) const
inline

Calculate duration of simulation read from experiment in timesteps.

◆ getDT()

double SpineMLSimulator::Simulator::getDT ( ) const
inline

Get the simulation timestep (in ms)

◆ getDurationMs()

double SpineMLSimulator::Simulator::getDurationMs ( ) const
inline

Get duration of simulation read from experiment in ms.

◆ getExternalInput()

InputValue::External * SpineMLSimulator::Simulator::getExternalInput ( const std::string &  name) const

Get an external input by name.

◆ getExternalLogger()

const LogOutput::AnalogueExternal * SpineMLSimulator::Simulator::getExternalLogger ( const std::string &  name) const

Get an external logger by name.

◆ getInitSparseTime()

double SpineMLSimulator::Simulator::getInitSparseTime ( ) const

◆ getInitTime()

double SpineMLSimulator::Simulator::getInitTime ( ) const

◆ getInputMs()

double SpineMLSimulator::Simulator::getInputMs ( ) const
inline

Get the total times accumulated in each stage of the simulation.

◆ getLogMs()

double SpineMLSimulator::Simulator::getLogMs ( ) const
inline

◆ getNeuronUpdateTime()

double SpineMLSimulator::Simulator::getNeuronUpdateTime ( ) const

Timings of individual kernels provided by GeNN.

◆ getPostsynapticUpdateTime()

double SpineMLSimulator::Simulator::getPostsynapticUpdateTime ( ) const

◆ getPresynapticUpdateTime()

double SpineMLSimulator::Simulator::getPresynapticUpdateTime ( ) const

◆ getSimulateMs()

double SpineMLSimulator::Simulator::getSimulateMs ( ) const
inline

◆ getSynapseDynamicsTime()

double SpineMLSimulator::Simulator::getSynapseDynamicsTime ( ) const

◆ load()

void SpineMLSimulator::Simulator::load ( const std::string &  experimentXML,
const std::string &  overrideOutputPath = "" 
)

Load model from XML file.

◆ stepTime()

void SpineMLSimulator::Simulator::stepTime ( )

Advance simulation by one timestep.


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